summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-21 04:59:00 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-23 13:47:43 +0300
commitdb8924ea3c3a0dd8243c61cf3d7bf5f8807796ed (patch)
tree6ba1d7e490bc23009d9924f2866e139f73dd3d6f /libvo/x11_common.h
parent0ef3e9ae879a9425eac3b04ce78121e1fdd15af8 (diff)
downloadmpv-db8924ea3c3a0dd8243c61cf3d7bf5f8807796ed.tar.bz2
mpv-db8924ea3c3a0dd8243c61cf3d7bf5f8807796ed.tar.xz
Move mRootWin,mScreen,mLocalDisplay to x11 struct
Diffstat (limited to 'libvo/x11_common.h')
-rw-r--r--libvo/x11_common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libvo/x11_common.h b/libvo/x11_common.h
index 5d06630cbe..f2fa160ff4 100644
--- a/libvo/x11_common.h
+++ b/libvo/x11_common.h
@@ -9,6 +9,9 @@ struct vo;
struct vo_x11_state {
Display *display;
Window window;
+ Window rootwin;
+ int screen;
+ int display_is_local;
int depthonscreen;
GC vo_gc;
@@ -181,6 +184,9 @@ int vo_find_depth_from_visuals(Display *dpy, int screen, Visual **visual_return)
#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
+#define mRootWin global_vo->x11->rootwin
+#define mScreen global_vo->x11->screen
+#define mLocalDisplay global_vo->x11->display_is_local
#endif
#endif /* MPLAYER_X11_COMMON_H */