mirror of
https://github.com/swaywm/sway.git
synced 2024-11-29 11:21:28 +00:00
Merge pull request #2342 from RyanDwyer/update-cursor
Fix some cases where the cursor doesn't update
This commit is contained in:
commit
224ade1382
|
@ -726,6 +726,7 @@ static void handle_request_set_cursor(struct wl_listener *listener,
|
||||||
|
|
||||||
wlr_cursor_set_surface(cursor->cursor, event->surface, event->hotspot_x,
|
wlr_cursor_set_surface(cursor->cursor, event->surface, event->hotspot_x,
|
||||||
event->hotspot_y);
|
event->hotspot_y);
|
||||||
|
cursor->image = NULL;
|
||||||
cursor->image_client = focused_client;
|
cursor->image_client = focused_client;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue