diff options
author | torque <torque@1> | 2015-02-16 21:50:57 -0800 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-02-18 00:03:16 +0100 |
commit | 3b269ac0a04b7575a8ab1a6665d75fc0d0e8589e (patch) | |
tree | 9b637249e3225cebe664724280a30918c0e7a8a3 /video/out/wayland_common.c | |
parent | fa9b587426d7bd350d92afdb440c396336b2ecfd (diff) | |
download | mpv-3b269ac0a04b7575a8ab1a6665d75fc0d0e8589e.tar.bz2 mpv-3b269ac0a04b7575a8ab1a6665d75fc0d0e8589e.tar.xz |
input: add MOUSE_ENTER keybinding.
Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'video/out/wayland_common.c')
-rw-r--r-- | video/out/wayland_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index 843049816e..2d09ad12b0 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -379,6 +379,7 @@ static void pointer_handle_enter(void *data, /* Release the left button on pointer enter again * because after moving the shell surface no release event is sent */ + mp_input_put_key(wl->vo->input_ctx, MP_KEY_MOUSE_ENTER); mp_input_put_key(wl->vo->input_ctx, MP_MOUSE_BTN0 | MP_KEY_STATE_UP); show_cursor(wl); } |