commit a0a078f75e977bff85ba6723fe54a4e982e9df52
parent b04f4136bc6163246d7e24454b84a950c8137ffc
Author: novenary <novenary@kwak.zip>
Date: Wed, 3 Jul 2024 16:37:49 +0300
transaction: fix missing top border with hide_lone_tab
Regressed by scene graph.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sway/desktop/transaction.c b/sway/desktop/transaction.c
@@ -314,7 +314,7 @@ static void arrange_children(enum sway_container_layout layout, list_t *children
if (activated) {
arrange_container(child, width, height - title_bar_height,
- false, 0);
+ title_bar_height == 0, 0);
} else {
disable_container(child);
}
@@ -343,7 +343,7 @@ static void arrange_children(enum sway_container_layout layout, list_t *children
if (activated) {
arrange_container(child, width, height - title_height,
- false, 0);
+ title_bar_height == 0, 0);
} else {
disable_container(child);
}