summaryrefslogtreecommitdiffstats
path: root/sway/config
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-01-09 20:58:00 -0500
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-01-09 20:58:00 -0500
commit124085eba96362403a757061032659c0a06aa22e (patch)
treef46fd9854bd80e0b29e8ddc67ab77e9dd614ac31 /sway/config
parentReset container dimensions when moving into workspace from direction (diff)
downloadsway-124085eba96362403a757061032659c0a06aa22e.tar.gz
sway-124085eba96362403a757061032659c0a06aa22e.tar.zst
sway-124085eba96362403a757061032659c0a06aa22e.zip
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.
Diffstat (limited to 'sway/config')
-rw-r--r--sway/config/bar.c2
1 files changed, 1 insertions, 1 deletions
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) {
96 bar->pango_markup = false; 96 bar->pango_markup = false;
97 bar->swaybar_command = NULL; 97 bar->swaybar_command = NULL;
98 bar->font = NULL; 98 bar->font = NULL;
99 bar->height = -1; 99 bar->height = 0;
100 bar->workspace_buttons = true; 100 bar->workspace_buttons = true;
101 bar->wrap_scroll = false; 101 bar->wrap_scroll = false;
102 bar->separator_symbol = NULL; 102 bar->separator_symbol = NULL;