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

ib subversion at mplayerhq.hu
Thu Sep 1 20:19:28 CEST 2011


Author: ib
Date: Thu Sep  1 20:19:27 2011
New Revision: 34040

Log:
Keep track of fullscreen state.

The _NETWM_STATE_FULLSCREEN EWMH restores the original geometry,
so set the isFullScreen flag accordingly.

Modified:
   trunk/gui/wm/ws.c

Modified: trunk/gui/wm/ws.c
==============================================================================
--- trunk/gui/wm/ws.c	Thu Sep  1 20:07:59 2011	(r34039)
+++ trunk/gui/wm/ws.c	Thu Sep  1 20:19:27 2011	(r34040)
@@ -1326,6 +1326,8 @@ void wsVisibleWindow(wsTWindow *win, int
     switch (show) {
     case wsShowWindow:
         XMapRaised(wsDisplay, win->WindowID);
+        if (vo_fs_type & vo_wm_FULLSCREEN)
+            win->isFullScreen = False;
         break;
 
     case wsHideWindow:


More information about the MPlayer-cvslog mailing list