From c46fabe45ccb703b65a05043388381ba013a4f16 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 23 Jun 2023 18:56:09 +0200 Subject: [PATCH] cursor: use wlr_cursor_unset_image() in wlr_cursor_set_surface() --- types/wlr_cursor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/wlr_cursor.c b/types/wlr_cursor.c index a9c9720f..141e8eea 100644 --- a/types/wlr_cursor.c +++ b/types/wlr_cursor.c @@ -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; }