Skip to content

Commit

Permalink
wayland_common: update pointer serial on pointer_enter
Browse files Browse the repository at this point in the history
  • Loading branch information
mahkoh authored and Dudemanguy committed Feb 18, 2024
1 parent ac275a8 commit 0ef78c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions video/out/wayland_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 0ef78c1

Please sign in to comment.