summaryrefslogtreecommitdiffstats
path: root/video/out/x11_common.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-03-15 22:11:31 +0100
committerwm4 <wm4@nowhere>2016-03-15 22:11:31 +0100
commit718cc27f34bd0bbaa155cb61e11179dba31cbd33 (patch)
tree47ed7bf8228e1399087acfd09ca8550826dd1c27 /video/out/x11_common.h
parent3375d65bc5c1755a9ab0ebee137520d11261a712 (diff)
downloadmpv-718cc27f34bd0bbaa155cb61e11179dba31cbd33.tar.bz2
mpv-718cc27f34bd0bbaa155cb61e11179dba31cbd33.tar.xz
x11: move vo->input_ctx accesses to x11->input_ctx
Reduces VO access and makes the code more self-contained. (One day the windowing backend code should not access the VO anymore. We're just not quite there yet.)
Diffstat (limited to 'video/out/x11_common.h')
-rw-r--r--video/out/x11_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/x11_common.h b/video/out/x11_common.h
index 4b122e8535..812c309afe 100644
--- a/video/out/x11_common.h
+++ b/video/out/x11_common.h
@@ -43,6 +43,7 @@ struct xrandr_display {
struct vo_x11_state {
struct mp_log *log;
+ struct input_ctx *input_ctx;
Display *display;
Window window;
Window rootwin;