aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar novenary <novenary@kwak.zip>2024-07-03 16:37:49 +0300
committerLibravatar Alexander Orzechowski <alex@ozal.ski>2024-07-03 10:10:30 -0400
commita0a078f75e977bff85ba6723fe54a4e982e9df52 (patch)
treeaa2764597b0c4aed6cfb468f86eaa99a18afc6f5
parentdesktop/output: Debounce modesets (diff)
downloadsway-a0a078f75e977bff85ba6723fe54a4e982e9df52.tar.gz
sway-a0a078f75e977bff85ba6723fe54a4e982e9df52.tar.zst
sway-a0a078f75e977bff85ba6723fe54a4e982e9df52.zip
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
314 314
315 if (activated) { 315 if (activated) {
316 arrange_container(child, width, height - title_bar_height, 316 arrange_container(child, width, height - title_bar_height,
317 false, 0); 317 title_bar_height == 0, 0);
318 } else { 318 } else {
319 disable_container(child); 319 disable_container(child);
320 } 320 }
@@ -343,7 +343,7 @@ static void arrange_children(enum sway_container_layout layout, list_t *children
343 343
344 if (activated) { 344 if (activated) {
345 arrange_container(child, width, height - title_height, 345 arrange_container(child, width, height - title_height,
346 false, 0); 346 title_bar_height == 0, 0);
347 } else { 347 } else {
348 disable_container(child); 348 disable_container(child);
349 } 349 }