From 831a7cf3eea1015a76f4accba4f4d237a5336f7b Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 19 Jun 2013 18:19:45 +0200 Subject: input: trigger mouse_leave key bindings if mouse leaves mouse area Also, implement mouse leave events for X11. But evne on other platforms, these events will be generated if mouse crosses a section's mouse area boundaries within the mpv window. --- core/input/input.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core/input/input.h') diff --git a/core/input/input.h b/core/input/input.h index 551ba80db6..071efe5def 100644 --- a/core/input/input.h +++ b/core/input/input.h @@ -138,6 +138,7 @@ typedef struct mp_cmd { bool raw_args; enum mp_on_osd on_osd; bstr original; + char *input_section; bool key_up_follows; bool mouse_move; int mouse_x, mouse_y; -- cgit v1.2.3