summaryrefslogtreecommitdiffstats
path: root/sway/commands/mode.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/mode.c')
-rw-r--r--sway/commands/mode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/mode.c b/sway/commands/mode.c
index 31d0f251..00331ccc 100644
--- a/sway/commands/mode.c
+++ b/sway/commands/mode.c
@@ -65,8 +65,8 @@ struct cmd_results *cmd_mode(int argc, char **argv) {
65 } 65 }
66 66
67 // Create binding 67 // Create binding
68 struct cmd_results *result = subcommand(argv + 1, argc - 1, mode_handlers, 68 struct cmd_results *result = config_subcommand(argv + 1, argc - 1,
69 sizeof(mode_handlers)); 69 mode_handlers, sizeof(mode_handlers));
70 config->current_mode = config->modes->items[0]; 70 config->current_mode = config->modes->items[0];
71 71
72 return result; 72 return result;