mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
backend/wayland: manage cursor for current pointer
This commit is contained in:
parent
b98522b38f
commit
df417b7e95
2 changed files with 4 additions and 2 deletions
|
|
@ -48,6 +48,7 @@ static void pointer_handle_enter(void *data, struct wl_pointer *wl_pointer,
|
|||
struct wlr_wl_output *output = wl_surface_get_user_data(surface);
|
||||
assert(output);
|
||||
struct wlr_wl_pointer *pointer = output_get_pointer(output);
|
||||
assert(!backend->current_pointer || backend->current_pointer == pointer);
|
||||
|
||||
output->enter_serial = serial;
|
||||
backend->current_pointer = pointer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue