aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2020-04-15 18:24:22 +0200
committerLibravatar Drew DeVault <sir@cmpwn.com>2020-05-01 16:57:24 +0200
commit6021fc4a08c9a870e2821b907e056f336c39a99a (patch)
treee52ea569f7c54e123e932d22fca40f2aa1228d16
parentDon't assert the cursor theme loads (diff)
downloadsway-6021fc4a08c9a870e2821b907e056f336c39a99a.tar.gz
sway-6021fc4a08c9a870e2821b907e056f336c39a99a.tar.zst
sway-6021fc4a08c9a870e2821b907e056f336c39a99a.zip
Fix invisible cursor on startup
-rw-r--r--sway/input/seat.c2
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) {
933 } 933 }
934 } 934 }
935 935
936 // Reset the cursor so that we apply it to outputs that just appeared
937 cursor_set_image(seat->cursor, NULL, NULL);
936 cursor_set_image(seat->cursor, "left_ptr", NULL); 938 cursor_set_image(seat->cursor, "left_ptr", NULL);
937 wlr_cursor_warp(seat->cursor->cursor, NULL, seat->cursor->cursor->x, 939 wlr_cursor_warp(seat->cursor->cursor, NULL, seat->cursor->cursor->x,
938 seat->cursor->cursor->y); 940 seat->cursor->cursor->y);