diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-01-20 11:32:07 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-01-20 11:34:57 -0500 |
commit | 9e0595f26bcca2a4d0aa735c4cd9fc4f792918bf (patch) | |
tree | 1417f4b913875db24efc5418481ab057679680cd /sway/commands.c | |
parent | Merge pull request #1571 from acrisci/wlroots-modifiers-update (diff) | |
download | sway-9e0595f26bcca2a4d0aa735c4cd9fc4f792918bf.tar.gz sway-9e0595f26bcca2a4d0aa735c4cd9fc4f792918bf.tar.zst sway-9e0595f26bcca2a4d0aa735c4cd9fc4f792918bf.zip |
input config handler context
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sway/commands.c b/sway/commands.c index 1005cf68..fd2e1514 100644 --- a/sway/commands.c +++ b/sway/commands.c | |||
@@ -70,10 +70,7 @@ 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; | ||
74 | current_input_config = input; | ||
75 | sway_input_manager_apply_input_config(input_manager, input); | 73 | sway_input_manager_apply_input_config(input_manager, input); |
76 | current_input_config = old_input_config; | ||
77 | } | 74 | } |
78 | 75 | ||
79 | void apply_seat_config(struct seat_config *seat) { | 76 | void apply_seat_config(struct seat_config *seat) { |