diff options
Diffstat (limited to 'sway/commands/bar.c')
-rw-r--r-- | sway/commands/bar.c | 4 |
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) { | |||
52 | return cmd_results_new(CMD_FAILURE, "bar", | 52 | return cmd_results_new(CMD_FAILURE, "bar", |
53 | "Can only be used in config file."); | 53 | "Can only be used in config file."); |
54 | } | 54 | } |
55 | return subcommand(argv, argc, bar_config_handlers, | 55 | return config_subcommand(argv, argc, bar_config_handlers, |
56 | sizeof(bar_config_handlers)); | 56 | sizeof(bar_config_handlers)); |
57 | } | 57 | } |
58 | 58 | ||
@@ -111,5 +111,5 @@ struct cmd_results *cmd_bar(int argc, char **argv) { | |||
111 | wlr_log(L_DEBUG, "Creating bar %s", bar->id); | 111 | wlr_log(L_DEBUG, "Creating bar %s", bar->id); |
112 | } | 112 | } |
113 | 113 | ||
114 | return subcommand(argv, argc, bar_handlers, sizeof(bar_handlers)); | 114 | return config_subcommand(argv, argc, bar_handlers, sizeof(bar_handlers)); |
115 | } | 115 | } |