commit 6021fc4a08c9a870e2821b907e056f336c39a99a
parent f55de073c2a19b3912e363ca4d89f224e83972b7
Author: Simon Ser <contact@emersion.fr>
Date: Wed, 15 Apr 2020 18:24:22 +0200
Fix invisible cursor on startup
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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);