This makes it so that `seat hide_cursor` no longer clears cursor focus when hidding.

Clearing focus casuses problems whenever keyboard and mouse are to be used in conjunction.
This commit is contained in:
lelgenio 2021-06-24 22:36:10 -03:00
parent 96102184ab
commit b21dc487ac

View file

@ -236,7 +236,6 @@ void cursor_update_image(struct sway_cursor *cursor,
static void cursor_hide(struct sway_cursor *cursor) {
wlr_cursor_set_image(cursor->cursor, NULL, 0, 0, 0, 0, 0, 0);
cursor->hidden = true;
wlr_seat_pointer_notify_clear_focus(cursor->seat->wlr_seat);
}
static int hide_notify(void *data) {