# HG changeset patch # User ib # Date 1314901167 0 # Node ID 75b858ef3666e454be1ee8350098de3c07969c64 # Parent 2c26c2f2136e19e9f4f5feb62194fe4c913417a1 Keep track of fullscreen state. The _NETWM_STATE_FULLSCREEN EWMH restores the original geometry, so set the isFullScreen flag accordingly. diff -r 2c26c2f2136e -r 75b858ef3666 gui/wm/ws.c --- 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: