From f1cc45b2301c6db392eaa259a1aecfa3b6b0489f Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 30 Jun 2023 19:31:02 +0200 Subject: [PATCH] input/seat: don't reset cursor in seat_configure_xcursor() This is handled by wlroots now. References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4231 --- sway/input/seat.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sway/input/seat.c b/sway/input/seat.c index 82f4eb5f..bf7b7413 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c @@ -1080,9 +1080,6 @@ void seat_configure_xcursor(struct sway_seat *seat) { } } - // Reset the cursor so that we apply it to outputs that just appeared - cursor_set_image(seat->cursor, NULL, NULL); - cursor_set_image(seat->cursor, "default", NULL); wlr_cursor_warp(seat->cursor->cursor, NULL, seat->cursor->cursor->x, seat->cursor->cursor->y); }