summaryrefslogtreecommitdiffstats
path: root/core/input/input.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-05-16 23:17:46 +0200
committerwm4 <wm4@nowhere>2013-05-26 16:44:19 +0200
commit3c8f8b7714331746233e288206b247366257cb99 (patch)
tree2a42c1d9c60bf24e5a680ec7e6d599ff33e60232 /core/input/input.h
parent8df780cb50ec4bb615ac25987de52bb3b4126de9 (diff)
downloadmpv-3c8f8b7714331746233e288206b247366257cb99.tar.bz2
mpv-3c8f8b7714331746233e288206b247366257cb99.tar.xz
core: do mouse cursor hiding business in frontend
Do this so that not every VO backend has to setup a timer for cursor hiding and interpret the --cursor-autohide option.
Diffstat (limited to 'core/input/input.h')
-rw-r--r--core/input/input.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/input/input.h b/core/input/input.h
index e09e080db1..1f079e7451 100644
--- a/core/input/input.h
+++ b/core/input/input.h
@@ -208,6 +208,9 @@ void mp_input_set_section(struct input_ctx *ictx, char *name, int flags);
// Get current input section
char *mp_input_get_section(struct input_ctx *ictx);
+// Used to detect mouse movement.
+unsigned int mp_input_get_last_mouse_event_time(struct input_ctx *ictx);
+
// Initialize the input system
struct input_conf;
struct input_ctx *mp_input_init(struct input_conf *input_conf,