diff options
| author | Brian Ashworth <[email protected]> | 2018-05-30 22:23:11 -0400 | 
|---|---|---|
| committer | Brian Ashworth <[email protected]> | 2018-06-02 08:07:44 -0400 | 
| commit | 8bfa2def8876bb507aa0174e6b159a0a226889b4 (patch) | |
| tree | cb913921a89cf5436a6f0912fcdf680dde973216 /sway/commands/input.c | |
| parent | 51bb9d8573efce7c46703d070ad963ba7d8dee76 (diff) | |
Address first round of review for generic blocks
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) {  		return cmd_results_new(CMD_FAILURE, NULL, "Couldn't allocate config");  	} -	struct cmd_results *res = subcommand(argv + 1, argc - 1, input_handlers, -			sizeof(input_handlers)); +	struct cmd_results *res = config_subcommand(argv + 1, argc - 1, +			input_handlers, sizeof(input_handlers));  	free_input_config(config->handler_context.input_config);  	config->handler_context.input_config = NULL;  | 
