diff options
author | Simon Ser <contact@emersion.fr> | 2020-04-15 18:24:22 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-05-01 16:57:24 +0200 |
commit | 6021fc4a08c9a870e2821b907e056f336c39a99a (patch) | |
tree | e52ea569f7c54e123e932d22fca40f2aa1228d16 /sway/input | |
parent | f55de073c2a19b3912e363ca4d89f224e83972b7 (diff) | |
download | sway-6021fc4a08c9a870e2821b907e056f336c39a99a.tar.xz |
Fix invisible cursor on startup
Diffstat (limited to 'sway/input')
-rw-r--r-- | sway/input/seat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c index a71d794b..df54261d 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); |