diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-21 04:50:29 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-23 13:47:43 +0300 |
commit | 0ef3e9ae879a9425eac3b04ce78121e1fdd15af8 (patch) | |
tree | fae2550934ee49827256dbc5a19031ecae410c44 /libvo/x11_common.h | |
parent | cc8334710e25d3f814bd6668b2cc47adf9921283 (diff) | |
download | mpv-0ef3e9ae879a9425eac3b04ce78121e1fdd15af8.tar.bz2 mpv-0ef3e9ae879a9425eac3b04ce78121e1fdd15af8.tar.xz |
Move vo_mouse_autohide,vo_wm_type,vo_fs_type,vo_fs_flip to x11 struct
Diffstat (limited to 'libvo/x11_common.h')
-rw-r--r-- | libvo/x11_common.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libvo/x11_common.h b/libvo/x11_common.h index 2f01938183..5d06630cbe 100644 --- a/libvo/x11_common.h +++ b/libvo/x11_common.h @@ -20,6 +20,11 @@ struct vo_x11_state { unsigned long xv_colorkey; unsigned int xv_port; + int vo_mouse_autohide; + int wm_type; + int fs_type; + int fs_flip; + GC f_gc; XSizeHints vo_hint; unsigned int mouse_timer; @@ -78,8 +83,6 @@ extern Window mRootWin; extern int mScreen; extern int mLocalDisplay; -extern int vo_mouse_autohide; - void vo_x11_init_state(struct vo_x11_state *s); int vo_init(struct vo *vo); void vo_uninit(struct vo_x11_state *x11); @@ -177,6 +180,7 @@ int vo_find_depth_from_visuals(Display *dpy, int screen, Visual **visual_return) #define xv_colorkey global_vo->x11->xv_colorkey #define xv_port global_vo->x11->xv_port #define vo_gc global_vo->x11->vo_gc +#define vo_mouse_autohide global_vo->x11->vo_mouse_autohide #endif #endif /* MPLAYER_X11_COMMON_H */ |