From 124085eba96362403a757061032659c0a06aa22e Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Wed, 9 Jan 2019 20:58:00 -0500 Subject: swaybar: obey height if given If there is a bar height given, use that as the height rather than as a minimum height. This matches i3-gaps behavior. --- sway/config/bar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/config') diff --git a/sway/config/bar.c b/sway/config/bar.c index 670219f1..069c0003 100644 --- a/sway/config/bar.c +++ b/sway/config/bar.c @@ -96,7 +96,7 @@ struct bar_config *default_bar_config(void) { bar->pango_markup = false; bar->swaybar_command = NULL; bar->font = NULL; - bar->height = -1; + bar->height = 0; bar->workspace_buttons = true; bar->wrap_scroll = false; bar->separator_symbol = NULL; -- cgit v1.2.3-54-g00ecf