diff Gui/wm/ws.c @ 12520:94e66acdb706

Metacity fullscreen issues, patch by Alexander Strasser <eclipse7@gmx.net>, approved by Attila.
author diego
date Wed, 02 Jun 2004 02:34:39 +0000
parents 85e503ddf65f
children 39de828ec1cb
line wrap: on
line diff
--- a/Gui/wm/ws.c	Wed Jun 02 00:58:05 2004 +0000
+++ b/Gui/wm/ws.c	Wed Jun 02 02:34:39 2004 +0000
@@ -763,6 +763,8 @@
 #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 @@
 #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 );