aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/input/cursor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index 771ad01d..65d04cac 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -726,6 +726,7 @@ static void handle_request_set_cursor(struct wl_listener *listener,
726 726
727 wlr_cursor_set_surface(cursor->cursor, event->surface, event->hotspot_x, 727 wlr_cursor_set_surface(cursor->cursor, event->surface, event->hotspot_x,
728 event->hotspot_y); 728 event->hotspot_y);
729 cursor->image = NULL;
729 cursor->image_client = focused_client; 730 cursor->image_client = focused_client;
730} 731}
731 732