wayland_common: update pointer serial on pointer_enter

This commit is contained in:
Julian Orth 2024-02-18 18:35:15 +01:00 committed by Dudemanguy
parent ac275a823d
commit 0ef78c1aa5
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}