diff options
Diffstat (limited to 'sway')
-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) { list_add(config->input_configs, input); } + struct input_config *old_input_config = current_input_config; current_input_config = input; sway_input_manager_apply_input_config(input_manager, input); + current_input_config = old_input_config; } void apply_seat_config(struct seat_config *seat) { |