diff options
Diffstat (limited to 'sway/commands/bar/height.c')
-rw-r--r-- | sway/commands/bar/height.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/bar/height.c b/sway/commands/bar/height.c index 18258526..a2e72533 100644 --- a/sway/commands/bar/height.c +++ b/sway/commands/bar/height.c | |||
@@ -10,11 +10,11 @@ struct cmd_results *bar_cmd_height(int argc, char **argv) { | |||
10 | } | 10 | } |
11 | int height = atoi(argv[0]); | 11 | int height = atoi(argv[0]); |
12 | if (height < 0) { | 12 | if (height < 0) { |
13 | return cmd_results_new(CMD_INVALID, "height", | 13 | return cmd_results_new(CMD_INVALID, |
14 | "Invalid height value: %s", argv[0]); | 14 | "Invalid height value: %s", argv[0]); |
15 | } | 15 | } |
16 | config->current_bar->height = height; | 16 | config->current_bar->height = height; |
17 | wlr_log(WLR_DEBUG, "Setting bar height to %d on bar: %s", | 17 | wlr_log(WLR_DEBUG, "Setting bar height to %d on bar: %s", |
18 | height, config->current_bar->id); | 18 | height, config->current_bar->id); |
19 | return cmd_results_new(CMD_SUCCESS, NULL, NULL); | 19 | return cmd_results_new(CMD_SUCCESS, NULL); |
20 | } | 20 | } |