aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornovenary <novenary@kwak.zip>2024-07-03 16:37:49 +0300
committerAlexander Orzechowski <alex@ozal.ski>2024-07-03 10:10:30 -0400
commita0a078f75e977bff85ba6723fe54a4e982e9df52 (patch)
treeaa2764597b0c4aed6cfb468f86eaa99a18afc6f5
parentb04f4136bc6163246d7e24454b84a950c8137ffc (diff)
transaction: fix missing top border with hide_lone_tab
Regressed by scene graph.
-rw-r--r--sway/desktop/transaction.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/transaction.c b/sway/desktop/transaction.c
index d1898843..7568990b 100644
--- 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);
}