comparison libvo/x11_common.c @ 18715:30d7ddf08889

Fix window position when changing videos while in fullscreen and for window managers that modify position on Map. Oked by Alexander Strasser.
author reimar
date Thu, 15 Jun 2006 08:00:37 +0000
parents 6233f00d61c8
children a943bc3f26c8
comparison
equal deleted inserted replaced
18714:8fc996a3b4e1 18715:30d7ddf08889
1510 /* some WMs lose ontop after fullscreeen */ 1510 /* some WMs lose ontop after fullscreeen */
1511 if ((!(vo_fs)) & vo_ontop) 1511 if ((!(vo_fs)) & vo_ontop)
1512 vo_x11_setlayer(mDisplay, vo_window, vo_ontop); 1512 vo_x11_setlayer(mDisplay, vo_window, vo_ontop);
1513 1513
1514 XMapRaised(mDisplay, vo_window); 1514 XMapRaised(mDisplay, vo_window);
1515 if ( ! (vo_fs_type & vo_wm_FULLSCREEN) ) // some WMs change window pos on map
1516 XMoveResizeWindow(mDisplay, vo_window, x, y, w, h);
1515 XRaiseWindow(mDisplay, vo_window); 1517 XRaiseWindow(mDisplay, vo_window);
1516 XFlush(mDisplay); 1518 XFlush(mDisplay);
1517 } 1519 }
1518 1520
1519 void vo_x11_ontop(void) 1521 void vo_x11_ontop(void)