From 4a3ada303b948ce2bdf21c7e6254005c85b000ea Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Sun, 30 Dec 2018 23:01:47 -0500 Subject: 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. --- sway/input/input-manager.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sway') 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); } } -- cgit v1.2.3