diff options
Diffstat (limited to 'sway/commands/input/xkb_rules.c')
-rw-r--r-- | sway/commands/input/xkb_rules.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/commands/input/xkb_rules.c b/sway/commands/input/xkb_rules.c index 3eda0bdd..047e8c84 100644 --- a/sway/commands/input/xkb_rules.c +++ b/sway/commands/input/xkb_rules.c | |||
@@ -1,4 +1,5 @@ | |||
1 | #define _XOPEN_SOURCE 700 | 1 | #define _XOPEN_SOURCE 700 |
2 | #include "sway/config.h" | ||
2 | #include "sway/commands.h" | 3 | #include "sway/commands.h" |
3 | #include "sway/input/input-manager.h" | 4 | #include "sway/input/input-manager.h" |
4 | #include "log.h" | 5 | #include "log.h" |
@@ -19,6 +20,6 @@ struct cmd_results *input_cmd_xkb_rules(int argc, char **argv) { | |||
19 | 20 | ||
20 | sway_log(L_DEBUG, "apply-xkb_rules for device: %s", | 21 | sway_log(L_DEBUG, "apply-xkb_rules for device: %s", |
21 | current_input_config->identifier); | 22 | current_input_config->identifier); |
22 | input_cmd_apply(new_config); | 23 | apply_input_config(new_config); |
23 | return cmd_results_new(CMD_SUCCESS, NULL, NULL); | 24 | return cmd_results_new(CMD_SUCCESS, NULL, NULL); |
24 | } | 25 | } |