diff options
Diffstat (limited to 'sway/commands/input.c')
-rw-r--r-- | sway/commands/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/input.c b/sway/commands/input.c index 972160e2..22a0bb7c 100644 --- a/sway/commands/input.c +++ b/sway/commands/input.c | |||
@@ -42,8 +42,8 @@ struct cmd_results *cmd_input(int argc, char **argv) { | |||
42 | return cmd_results_new(CMD_FAILURE, NULL, "Couldn't allocate config"); | 42 | return cmd_results_new(CMD_FAILURE, NULL, "Couldn't allocate config"); |
43 | } | 43 | } |
44 | 44 | ||
45 | struct cmd_results *res = subcommand(argv + 1, argc - 1, input_handlers, | 45 | struct cmd_results *res = config_subcommand(argv + 1, argc - 1, |
46 | sizeof(input_handlers)); | 46 | input_handlers, sizeof(input_handlers)); |
47 | 47 | ||
48 | free_input_config(config->handler_context.input_config); | 48 | free_input_config(config->handler_context.input_config); |
49 | config->handler_context.input_config = NULL; | 49 | config->handler_context.input_config = NULL; |