diff options
author | wm4 <wm4@nowhere> | 2013-06-19 18:19:45 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-06-29 22:58:13 +0200 |
commit | 831a7cf3eea1015a76f4accba4f4d237a5336f7b (patch) | |
tree | 2f7206e2243936b7e030a81c80e99042575199b3 /core/input/input.h | |
parent | fc422f5aebbfe6dd2ea12b92fe9b13ba5fd65041 (diff) | |
download | mpv-831a7cf3eea1015a76f4accba4f4d237a5336f7b.tar.bz2 mpv-831a7cf3eea1015a76f4accba4f4d237a5336f7b.tar.xz |
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.
Diffstat (limited to 'core/input/input.h')
-rw-r--r-- | core/input/input.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |