mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 07:56:31 +01:00
Fix invisible cursor on startup
This commit is contained in:
parent
f55de073c2
commit
6021fc4a08
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue