mirror of
https://github.com/swaywm/sway.git
synced 2024-12-29 16:36:26 +01:00
Apply implicit fallback seat config
The implicit fallback seat config needs to be applied (if created). Otherwise, the input devices will still be removed from the implicit default seat on reload when there is any seat config.
This commit is contained in:
parent
54d0f3a40e
commit
4a3ada303b
1 changed files with 2 additions and 1 deletions
|
@ -102,7 +102,8 @@ void input_manager_verify_fallback_seat(void) {
|
||||||
seat = input_manager_get_default_seat();
|
seat = input_manager_get_default_seat();
|
||||||
struct seat_config *sc = new_seat_config(seat->wlr_seat->name);
|
struct seat_config *sc = new_seat_config(seat->wlr_seat->name);
|
||||||
sc->fallback = true;
|
sc->fallback = true;
|
||||||
store_seat_config(sc);
|
sc = store_seat_config(sc);
|
||||||
|
input_manager_apply_seat_config(sc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue