summaryrefslogtreecommitdiffstats
path: root/Gui
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-06-02 02:34:39 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-06-02 02:34:39 +0000
commitb753d8020908ea802282bef9069805f79d326605 (patch)
tree087dcb81df435b55a1519ce1518d908f3be82570 /Gui
parenteef80d2874585bfb83c01d4563d3d58cacf4874c (diff)
downloadmpv-b753d8020908ea802282bef9069805f79d326605.tar.bz2
mpv-b753d8020908ea802282bef9069805f79d326605.tar.xz
Metacity fullscreen issues, patch by Alexander Strasser <eclipse7@gmx.net>,
approved by Attila. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12521 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui')
-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 );