From 6021fc4a08c9a870e2821b907e056f336c39a99a Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 15 Apr 2020 18:24:22 +0200 Subject: [PATCH] Fix invisible cursor on startup --- sway/input/seat.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sway/input/seat.c b/sway/input/seat.c index a71d794be..df54261d8 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c @@ -933,6 +933,8 @@ 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, "left_ptr", NULL); wlr_cursor_warp(seat->cursor->cursor, NULL, seat->cursor->cursor->x, seat->cursor->cursor->y);