summaryrefslogtreecommitdiffstats
path: root/Gui/wm/ws.c
diff options
context:
space:
mode:
Diffstat (limited to 'Gui/wm/ws.c')
-rw-r--r--Gui/wm/ws.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Gui/wm/ws.c b/Gui/wm/ws.c
index 3248ef0777..6f0016d302 100644
--- a/Gui/wm/ws.c
+++ b/Gui/wm/ws.c
@@ -763,6 +763,8 @@ void wsFullScreen( wsTWindow * win )
#ifdef ENABLE_DPMS
wsScreenSaverOn( wsDisplay );
#endif
+
+ vo_x11_ewmh_fullscreen( _NET_WM_STATE_REMOVE ); // removes fullscreen state if wm supports EWMH
}
else
{
@@ -774,6 +776,8 @@ void wsFullScreen( wsTWindow * win )
#ifdef ENABLE_DPMS
wsScreenSaverOff( wsDisplay );
#endif
+
+ vo_x11_ewmh_fullscreen( _NET_WM_STATE_ADD ); // adds fullscreen state if wm supports EWMH
}
vo_x11_decoration( wsDisplay,win->WindowID,decoration );