mirror of
https://github.com/swaywm/sway.git
synced 2026-04-20 06:47:03 -04:00
Address first round of review for generic blocks
This commit is contained in:
parent
51bb9d8573
commit
8bfa2def88
10 changed files with 34 additions and 32 deletions
|
|
@ -65,8 +65,8 @@ struct cmd_results *cmd_mode(int argc, char **argv) {
|
|||
}
|
||||
|
||||
// Create binding
|
||||
struct cmd_results *result = subcommand(argv + 1, argc - 1, mode_handlers,
|
||||
sizeof(mode_handlers));
|
||||
struct cmd_results *result = config_subcommand(argv + 1, argc - 1,
|
||||
mode_handlers, sizeof(mode_handlers));
|
||||
config->current_mode = config->modes->items[0];
|
||||
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue