[MPlayer-cvslog] r34093 - trunk/gui/wm/ws.c

ib subversion at mplayerhq.hu
Fri Sep 9 16:11:50 CEST 2011


Author: ib
Date: Fri Sep  9 16:11:50 2011
New Revision: 34093

Log:
Replace vo_x11_setlayer() calls by wsSetLayer() in wsFullScreen().

Modified:
   trunk/gui/wm/ws.c

Modified: trunk/gui/wm/ws.c
==============================================================================
--- trunk/gui/wm/ws.c	Fri Sep  9 16:07:14 2011	(r34092)
+++ trunk/gui/wm/ws.c	Fri Sep  9 16:11:50 2011	(r34093)
@@ -972,13 +972,13 @@ void wsFullScreen(wsTWindow *win)
     if (!(vo_fs_type & vo_wm_FULLSCREEN)) { // shouldn't be needed with EWMH fs
         vo_x11_decoration(wsDisplay, win->WindowID, win->Decorations && !win->isFullScreen);
         vo_x11_sizehint(win->X, win->Y, win->Width, win->Height, 0);
-        vo_x11_setlayer(wsDisplay, win->WindowID, win->isFullScreen);
+        wsSetLayer(wsDisplay, win->WindowID, win->isFullScreen);
         XMoveResizeWindow(wsDisplay, win->WindowID, win->X, win->Y, win->Width, win->Height);
     }
 
     /* some window managers lose ontop after fullscreen */
     if (!win->isFullScreen & vo_ontop)
-        vo_x11_setlayer(wsDisplay, win->WindowID, vo_ontop);
+        wsSetLayer(wsDisplay, win->WindowID, vo_ontop);
 
     wsRaiseWindowTop(wsDisplay, win->WindowID);
     XFlush(wsDisplay);


More information about the MPlayer-cvslog mailing list