aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/bar.c')
-rw-r--r--sway/commands/bar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/bar.c b/sway/commands/bar.c
index 358b3893..d84ce808 100644
--- a/sway/commands/bar.c
+++ b/sway/commands/bar.c
@@ -52,7 +52,7 @@ struct cmd_results *cmd_bar(int argc, char **argv) {
return cmd_results_new(CMD_FAILURE, "bar",
"Can only be used in config file.");
}
- return subcommand(argv, argc, bar_config_handlers,
+ return config_subcommand(argv, argc, bar_config_handlers,
sizeof(bar_config_handlers));
}
@@ -111,5 +111,5 @@ struct cmd_results *cmd_bar(int argc, char **argv) {
wlr_log(L_DEBUG, "Creating bar %s", bar->id);
}
- return subcommand(argv, argc, bar_handlers, sizeof(bar_handlers));
+ return config_subcommand(argv, argc, bar_handlers, sizeof(bar_handlers));
}