Fix invisible cursor on startup

master
Simon Ser 5 years ago committed by Drew DeVault
parent f55de073c2
commit 6021fc4a08

@ -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); cursor_set_image(seat->cursor, "left_ptr", NULL);
wlr_cursor_warp(seat->cursor->cursor, NULL, seat->cursor->cursor->x, wlr_cursor_warp(seat->cursor->cursor, NULL, seat->cursor->cursor->x,
seat->cursor->cursor->y); seat->cursor->cursor->y);

Loading…
Cancel
Save