diff options
author | wm4 <wm4@nowhere> | 2014-07-27 21:53:29 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-07-27 21:53:29 +0200 |
commit | 4c533fbb16b99c4b28fbd968d81bb0b44e3084b5 (patch) | |
tree | ceefb95dadc18ee01c29bc6c556d07ad9a8bc22c /input/input.h | |
parent | 89391e7c949216d7edec461e9bb2cb6c787475c6 (diff) | |
download | mpv-4c533fbb16b99c4b28fbd968d81bb0b44e3084b5.tar.bz2 mpv-4c533fbb16b99c4b28fbd968d81bb0b44e3084b5.tar.xz |
vo: remove vo_mouse_movement() wrapper
So that VO backends don't have to access the VO just for that.
Diffstat (limited to 'input/input.h')
-rw-r--r-- | input/input.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/input/input.h b/input/input.h index 2c572fa788..de363cf33b 100644 --- a/input/input.h +++ b/input/input.h @@ -133,6 +133,9 @@ void mp_input_set_mouse_pos(struct input_ctx *ictx, int x, int y); void mp_input_get_mouse_pos(struct input_ctx *ictx, int *x, int *y); +// Return whether we want/accept mouse input. +bool mp_input_mouse_enabled(struct input_ctx *ictx); + /* Make mp_input_set_mouse_pos() mangle the mouse coordinates. Hack for certain * VOs. dst=NULL, src=NULL reset it. src can be NULL. */ |