[MPlayer-cvslog] CVS: main/libvo x11_common.c,1.185,1.186

Alexander Strasser beastd syncmail at mplayerhq.hu
Mon Dec 27 12:09:52 CET 2004


CVS change done by Alexander Strasser (beastd)

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv26740/libvo

Modified Files:
	x11_common.c 
Log Message:
Fix ontop for some WMs that lose ontop state after fullscreen event.


Index: x11_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/x11_common.c,v
retrieving revision 1.185
retrieving revision 1.186
diff -u -r1.185 -r1.186
--- x11_common.c	21 Dec 2004 20:33:51 -0000	1.185
+++ x11_common.c	27 Dec 2004 11:09:49 -0000	1.186
@@ -1484,11 +1484,13 @@
         vo_x11_sizehint(x, y, w, h, 0);
         vo_x11_setlayer(mDisplay, vo_window, vo_fs);
 
-        if ((!(vo_fs)) & vo_ontop)
-            vo_x11_setlayer(mDisplay, vo_window, vo_ontop);
 
         XMoveResizeWindow(mDisplay, vo_window, x, y, w, h);
     }
+    /* some WMs lose ontop after fullscreeen */
+    if ((!(vo_fs)) & vo_ontop)
+        vo_x11_setlayer(mDisplay, vo_window, vo_ontop);
+
 #ifdef HAVE_XINERAMA
     vo_x11_xinerama_move(mDisplay, vo_window);
 #endif




More information about the MPlayer-cvslog mailing list