diff options
author | filon <filon@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-02-07 19:38:39 +0000 |
---|---|---|
committer | filon <filon@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-02-07 19:38:39 +0000 |
commit | a3385947b2140bda6fb85d1db5f3cea11aacb58c (patch) | |
tree | 57261b2b02a7c8507909aa07a95092e8b937ab61 /libvo/x11_common.h | |
parent | dd5bfcbc7ef693a260fcfb4e10fc9ddd548a17e2 (diff) | |
download | mpv-a3385947b2140bda6fb85d1db5f3cea11aacb58c.tar.bz2 mpv-a3385947b2140bda6fb85d1db5f3cea11aacb58c.tar.xz |
- support command line parameter -fstype, eg. -fstype layer=12,above,fullscreen
- help (-fstype help) also availabible
- support state BELOW (someone may want to use it...) and by -fstype none forcing of
not changing window layer (user request)
- drop icelayer option, it can be set by -fstype layer=<number>
- simplify vo_x11_fullscreen
- fs change code cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9318 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/x11_common.h')
-rw-r--r-- | libvo/x11_common.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/libvo/x11_common.h b/libvo/x11_common.h index f500613d4f..d89526912d 100644 --- a/libvo/x11_common.h +++ b/libvo/x11_common.h @@ -7,16 +7,13 @@ #include <X11/Xlib.h> #include <X11/Xutil.h> -#define vo_wm_Unknown 0 -#define vo_wm_NetWM 1 -#define vo_wm_Layered 2 +#define vo_wm_LAYER 1 +#define vo_wm_FULLSCREEN 2 +#define vo_wm_STAYS_ON_TOP 4 +#define vo_wm_ABOVE 8 +#define vo_wm_BELOW 16 +#define vo_wm_NETWM (vo_wm_FULLSCREEN | vo_wm_STAYS_ON_TOP | vo_wm_ABOVE | vo_wm_BELOW) -#define SUPPORT_NONE 0 -#define SUPPORT_FULLSCREEN 1 -#define SUPPORT_ABOVE 2 -#define SUPPORT_STAYS_ON_TOP 4 - -extern int net_wm_support; extern int metacity_hack; extern int vo_fsmode; @@ -26,7 +23,10 @@ extern int vo_screenheight; extern int vo_dwidth; extern int vo_dheight; extern int vo_fs; +extern int vo_fs_layer; extern int vo_wm_type; +extern int vo_fs_type; +extern char** vo_fstype_list; extern char *mDisplayName; extern Display *mDisplay; @@ -53,6 +53,7 @@ extern void vo_x11_uninit(); extern Colormap vo_x11_create_colormap(XVisualInfo *vinfo); extern uint32_t vo_x11_set_equalizer(char *name, int value); extern uint32_t vo_x11_get_equalizer(char *name, int *value); +extern void fstype_help(void); #endif |