summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorAlexander Preisinger <alexander.preisinger@gmail.com>2013-07-02 17:31:43 +0200
committerAlexander Preisinger <alexander.preisinger@gmail.com>2013-07-02 17:31:43 +0200
commit37c586770343a8c7806f757f21b524772b8d8a24 (patch)
tree70418542f1a12c7bd826347936fd249fa1d6147b /video
parentd603e73c24d6d7ad08a54c10d16c83d93b01a007 (diff)
downloadmpv-37c586770343a8c7806f757f21b524772b8d8a24.tar.bz2
mpv-37c586770343a8c7806f757f21b524772b8d8a24.tar.xz
wayland: implement MOUSE_LEAVE
Diffstat (limited to 'video')
-rw-r--r--video/out/wayland_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c
index f3d18efc1d..3ff3c0ffa5 100644
--- a/video/out/wayland_common.c
+++ b/video/out/wayland_common.c
@@ -329,6 +329,8 @@ static void pointer_handle_leave(void *data,
uint32_t serial,
struct wl_surface *surface)
{
+ struct vo_wayland_state *wl = data;
+ mplayer_put_key(wl->vo->key_fifo, MP_KEY_MOUSE_LEAVE);
}
static void pointer_handle_motion(void *data,