diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-12-30 23:01:47 -0500 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-12-31 11:37:07 +0100 |
commit | 4a3ada303b948ce2bdf21c7e6254005c85b000ea (patch) | |
tree | 596841a318947c65e4ac4a8c29313def341b537d /sway | |
parent | 54d0f3a40e3b65375046932b5cc21aba10b62f0f (diff) |
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.
Diffstat (limited to 'sway')
-rw-r--r-- | sway/input/input-manager.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/input/input-manager.c b/sway/input/input-manager.c index 9aaeb4d6..61087733 100644 --- a/sway/input/input-manager.c +++ b/sway/input/input-manager.c @@ -102,7 +102,8 @@ void input_manager_verify_fallback_seat(void) { seat = input_manager_get_default_seat(); struct seat_config *sc = new_seat_config(seat->wlr_seat->name); sc->fallback = true; - store_seat_config(sc); + sc = store_seat_config(sc); + input_manager_apply_seat_config(sc); } } |