changeset 34000:3ab636a679b1

Move an assignment in wsFullScreen(). Set isFullScreen flag right after state has changed.
author ib
date Fri, 09 Sep 2011 13:34:55 +0000
parents 3cf824f66821
children 00c09bdc2d5a
files gui/wm/ws.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/wm/ws.c	Fri Sep 09 13:13:57 2011 +0000
+++ b/gui/wm/ws.c	Fri Sep 09 13:34:55 2011 +0000
@@ -954,9 +954,9 @@
             win->OldHeight = win->Height;
         }
 
-        wsUpdateXineramaInfo(win);
+        win->isFullScreen = True;
 
-        win->isFullScreen = True;
+        wsUpdateXineramaInfo(win);
 
 #ifdef ENABLE_DPMS
         wsScreenSaverOff(wsDisplay);