aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/input.c
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-05-30 22:23:11 -0400
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-06-02 08:07:44 -0400
commit8bfa2def8876bb507aa0174e6b159a0a226889b4 (patch)
treecb913921a89cf5436a6f0912fcdf680dde973216 /sway/commands/input.c
parentSupport braces on next line for config blocks (diff)
downloadsway-8bfa2def8876bb507aa0174e6b159a0a226889b4.tar.gz
sway-8bfa2def8876bb507aa0174e6b159a0a226889b4.tar.zst
sway-8bfa2def8876bb507aa0174e6b159a0a226889b4.zip
Address first round of review for generic blocks
Diffstat (limited to 'sway/commands/input.c')
-rw-r--r--sway/commands/input.c4
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;