[MPlayer-cvslog] r34091 - trunk/gui/wm/ws.c
ib
subversion at mplayerhq.hu
Fri Sep 9 15:57:19 CEST 2011
Author: ib
Date: Fri Sep 9 15:57:19 2011
New Revision: 34091
Log:
Port r14245 change to wsFullScreen().
Modified:
trunk/gui/wm/ws.c
Modified: trunk/gui/wm/ws.c
==============================================================================
--- trunk/gui/wm/ws.c Fri Sep 9 15:53:23 2011 (r34090)
+++ trunk/gui/wm/ws.c Fri Sep 9 15:57:19 2011 (r34091)
@@ -973,13 +973,12 @@ void wsFullScreen(wsTWindow *win)
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);
-
- if ((!(win->isFullScreen)) & vo_ontop)
- vo_x11_setlayer(wsDisplay, win->WindowID, 1);
-
XMoveResizeWindow(wsDisplay, win->WindowID, win->X, win->Y, win->Width, win->Height);
}
+ if ((!(win->isFullScreen)) & vo_ontop)
+ vo_x11_setlayer(wsDisplay, win->WindowID, 1);
+
wsRaiseWindowTop(wsDisplay, win->WindowID);
XFlush(wsDisplay);
}
More information about the MPlayer-cvslog
mailing list