mirror of
https://github.com/swaywm/sway.git
synced 2025-11-17 06:59:48 -05:00
Address review comments for output subcommands
This commit is contained in:
parent
5ea4a4d3ee
commit
51fa988be9
2 changed files with 4 additions and 1 deletions
|
|
@ -35,6 +35,9 @@ struct cmd_results *cmd_output(int argc, char **argv) {
|
|||
config->handler_context.output_config = output;
|
||||
|
||||
while (argc > 0) {
|
||||
config->handler_context.leftovers.argc = 0;
|
||||
config->handler_context.leftovers.argv = NULL;
|
||||
|
||||
if (find_handler(*argv, output_handlers, sizeof(output_handlers))) {
|
||||
error = config_subcommand(argv, argc, output_handlers,
|
||||
sizeof(output_handlers));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue