mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 18:09:49 +01:00
cursor: use wlr_cursor_unset_image() in wlr_cursor_set_surface()
This commit is contained in:
parent
f0b8a68654
commit
c46fabe45c
1 changed files with 1 additions and 1 deletions
|
@ -520,7 +520,7 @@ static void output_cursor_output_handle_output_commit(
|
|||
void wlr_cursor_set_surface(struct wlr_cursor *cur, struct wlr_surface *surface,
|
||||
int32_t hotspot_x, int32_t hotspot_y) {
|
||||
if (surface == NULL) {
|
||||
wlr_cursor_set_image(cur, NULL, 0, 0, 0, 0, 0, 0);
|
||||
wlr_cursor_unset_image(cur);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue