diff options
-rw-r--r-- | sway/commands.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c index b0078a46..b7432bf6 100644 --- a/sway/commands.c +++ b/sway/commands.c | |||
@@ -70,8 +70,10 @@ void apply_input_config(struct input_config *input) { | |||
70 | list_add(config->input_configs, input); | 70 | list_add(config->input_configs, input); |
71 | } | 71 | } |
72 | 72 | ||
73 | struct input_config *old_input_config = current_input_config; | ||
73 | current_input_config = input; | 74 | current_input_config = input; |
74 | sway_input_manager_apply_input_config(input_manager, input); | 75 | sway_input_manager_apply_input_config(input_manager, input); |
76 | current_input_config = old_input_config; | ||
75 | } | 77 | } |
76 | 78 | ||
77 | void apply_seat_config(struct seat_config *seat) { | 79 | void apply_seat_config(struct seat_config *seat) { |