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

ib subversion at mplayerhq.hu
Fri Sep 9 15:34:55 CEST 2011


Author: ib
Date: Fri Sep  9 15:34:55 2011
New Revision: 34088

Log:
Move an assignment in wsFullScreen().

Set isFullScreen flag right after state has changed.

Modified:
   trunk/gui/wm/ws.c

Modified: trunk/gui/wm/ws.c
==============================================================================
--- trunk/gui/wm/ws.c	Fri Sep  9 15:13:57 2011	(r34087)
+++ trunk/gui/wm/ws.c	Fri Sep  9 15:34:55 2011	(r34088)
@@ -954,10 +954,10 @@ void wsFullScreen(wsTWindow *win)
             win->OldHeight = win->Height;
         }
 
-        wsUpdateXineramaInfo(win);
-
         win->isFullScreen = True;
 
+        wsUpdateXineramaInfo(win);
+
 #ifdef ENABLE_DPMS
         wsScreenSaverOff(wsDisplay);
 #endif


More information about the MPlayer-cvslog mailing list