cursor: use wlr_cursor_unset_image() in wlr_cursor_set_surface()

master
Simon Ser 2 years ago committed by Alexander Orzechowski
parent f0b8a68654
commit c46fabe45c

@ -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, void wlr_cursor_set_surface(struct wlr_cursor *cur, struct wlr_surface *surface,
int32_t hotspot_x, int32_t hotspot_y) { int32_t hotspot_x, int32_t hotspot_y) {
if (surface == NULL) { if (surface == NULL) {
wlr_cursor_set_image(cur, NULL, 0, 0, 0, 0, 0, 0); wlr_cursor_unset_image(cur);
return; return;
} }

Loading…
Cancel
Save