Mercurial > mplayer.hg
diff gui/wm/ws.c @ 33937:ab4b48ef5a68
Add a parameter to vo_x11_ewmh_fullscreen().
This allows to control to which window the event shall be sent.
author | ib |
---|---|
date | Sat, 27 Aug 2011 16:51:52 +0000 |
parents | 162828e38481 |
children | 75b858ef3666 |
line wrap: on
line diff
--- a/gui/wm/ws.c Sat Aug 27 11:17:05 2011 +0000 +++ b/gui/wm/ws.c Sat Aug 27 16:51:52 2011 +0000 @@ -890,7 +890,7 @@ int decoration = 0; if (win->isFullScreen) { - vo_x11_ewmh_fullscreen(_NET_WM_STATE_REMOVE); // removes fullscreen state if wm supports EWMH + vo_x11_ewmh_fullscreen(win->WindowID, _NET_WM_STATE_REMOVE); // removes fullscreen state if wm supports EWMH if (!(vo_fs_type & vo_wm_FULLSCREEN)) { // shouldn't be needed with EWMH fs win->X = win->OldX; @@ -935,7 +935,7 @@ wsScreenSaverOff(wsDisplay); #endif - vo_x11_ewmh_fullscreen(_NET_WM_STATE_ADD); // adds fullscreen state if wm supports EWMH + vo_x11_ewmh_fullscreen(win->WindowID, _NET_WM_STATE_ADD); // adds fullscreen state if wm supports EWMH } if (!(vo_fs_type & vo_wm_FULLSCREEN)) { // shouldn't be needed with EWMH fs