diff options
-rw-r--r-- | types/wlr_cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |