summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-21 01:50:19 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-23 13:46:40 +0300
commit432e8ff4a568b1040cae43df4aa6a602c86c6162 (patch)
tree2004262fd16a6dd1f9641eaf271b5d1829f9ebe8 /libvo/x11_common.h
parenta2212a71a74718d71673336a6b08b11f6cf1535b (diff)
downloadmpv-432e8ff4a568b1040cae43df4aa6a602c86c6162.tar.bz2
mpv-432e8ff4a568b1040cae43df4aa6a602c86c6162.tar.xz
Move vo_depthonscreen to x11 struct
Diffstat (limited to 'libvo/x11_common.h')
-rw-r--r--libvo/x11_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/x11_common.h b/libvo/x11_common.h
index 931c9ec233..3cae10714f 100644
--- a/libvo/x11_common.h
+++ b/libvo/x11_common.h
@@ -8,6 +8,7 @@ struct vo;
struct vo_x11_state {
Display *display;
+ int depthonscreen;
};
#ifdef X11_FULLSCREEN
@@ -143,6 +144,7 @@ int vo_find_depth_from_visuals(Display *dpy, int screen, Visual **visual_return)
#define vo_x11_clearwindow_part(display, ...) vo_x11_clearwindow_part(global_vo, __VA_ARGS__)
#define mDisplay global_vo->x11->display
+#define vo_depthonscreen global_vo->x11->depthonscreen
#endif
#endif /* MPLAYER_X11_COMMON_H */