aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralex-huff <alexhuff@bakahuff.com>2025-05-15 17:51:39 -0500
committerSimon Ser <contact@emersion.fr>2025-05-18 23:55:58 +0200
commit860cd42ba19275981dda7327242be09a05dc9ac1 (patch)
tree1fd840327cb1a2bc798fc99444a2a3b64eb963b7
parentc70ac15525528dbb04a915498cb681bdeefca493 (diff)
transaction: ensure border scene is enabled for floating containers
When a container that was previously an inactive child of a tabbed or stacking layout becomes floating it's border scene-tree remains disabled. This results in only the titlebar being rendered for the container. This commit ensures the border scene-tree is enabled when arranging floating containers. Fixes #8721 (cherry picked from commit a4072486ded62fcde586c10230cc79af833c55b6)
-rw-r--r--sway/desktop/transaction.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/desktop/transaction.c b/sway/desktop/transaction.c
index 781e0008..74929f8c 100644
--- a/sway/desktop/transaction.c
+++ b/sway/desktop/transaction.c
@@ -534,6 +534,7 @@ static void arrange_workspace_floating(struct sway_workspace *ws) {
wlr_scene_node_set_position(&floater->scene_tree->node,
floater->current.x, floater->current.y);
wlr_scene_node_set_enabled(&floater->scene_tree->node, true);
+ wlr_scene_node_set_enabled(&floater->border.tree->node, true);
arrange_container(floater, floater->current.width, floater->current.height,
true, ws->gaps_inner);