Fix invisible cursor on startup

This commit is contained in:
Simon Ser 2020-04-15 18:24:22 +02:00
parent 573c29ab85
commit 86ad221938
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -931,6 +931,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);