From 4c533fbb16b99c4b28fbd968d81bb0b44e3084b5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 27 Jul 2014 21:53:29 +0200 Subject: vo: remove vo_mouse_movement() wrapper So that VO backends don't have to access the VO just for that. --- input/input.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'input/input.h') 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. */ -- cgit v1.2.3