mirror of https://github.com/mpv-player/mpv
wayland_common: update pointer serial on pointer_enter
This commit is contained in:
parent
ac275a823d
commit
0ef78c1aa5
|
@ -242,6 +242,7 @@ static void pointer_handle_enter(void *data, struct wl_pointer *pointer,
|
|||
struct vo_wayland_seat *s = data;
|
||||
struct vo_wayland_state *wl = s->wl;
|
||||
|
||||
s->pointer_serial = serial;
|
||||
set_cursor_visibility(s, wl->cursor_visible);
|
||||
mp_input_put_key(wl->vo->input_ctx, MP_KEY_MOUSE_ENTER);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue