diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-06-02 02:34:39 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-06-02 02:34:39 +0000 |
commit | b753d8020908ea802282bef9069805f79d326605 (patch) | |
tree | 087dcb81df435b55a1519ce1518d908f3be82570 /libvo/x11_common.h | |
parent | eef80d2874585bfb83c01d4563d3d58cacf4874c (diff) | |
download | mpv-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 'libvo/x11_common.h')
-rw-r--r-- | libvo/x11_common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libvo/x11_common.h b/libvo/x11_common.h index 253fd0f7b6..9e8c74a4c9 100644 --- a/libvo/x11_common.h +++ b/libvo/x11_common.h @@ -14,6 +14,12 @@ #define vo_wm_BELOW 16 #define vo_wm_NETWM (vo_wm_FULLSCREEN | vo_wm_STAYS_ON_TOP | vo_wm_ABOVE | vo_wm_BELOW) +/* EWMH state actions, see + http://freedesktop.org/Standards/wm-spec/index.html#id2768769 */ +#define _NET_WM_STATE_REMOVE 0 /* remove/unset property */ +#define _NET_WM_STATE_ADD 1 /* add/set property */ +#define _NET_WM_STATE_TOGGLE 2 /* toggle property */ + extern int metacity_hack; extern int vo_fsmode; @@ -62,6 +68,7 @@ extern void vo_x11_clearwindow_part(Display *mDisplay, Window vo_window, int img_width, int img_height, int use_fs); extern void vo_x11_clearwindow( Display *mDisplay, Window vo_window ); extern void vo_x11_ontop(); +extern void vo_x11_ewmh_fullscreen( int action ); #endif |