changeset 33952:75b858ef3666

Keep track of fullscreen state. The _NETWM_STATE_FULLSCREEN EWMH restores the original geometry, so set the isFullScreen flag accordingly.
author ib
date Thu, 01 Sep 2011 18:19:27 +0000
parents 2c26c2f2136e
children 4721b1537f80
files gui/wm/ws.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gui/wm/ws.c	Thu Sep 01 18:07:59 2011 +0000
+++ b/gui/wm/ws.c	Thu Sep 01 18:19:27 2011 +0000
@@ -1326,6 +1326,8 @@
     switch (show) {
     case wsShowWindow:
         XMapRaised(wsDisplay, win->WindowID);
+        if (vo_fs_type & vo_wm_FULLSCREEN)
+            win->isFullScreen = False;
         break;
 
     case wsHideWindow: