diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2025-05-15 17:51:39 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2025-05-15 17:51:39 -0500 |
| commit | fc537d2d0a66da51ac9dd9dbbd3aa49ce6283610 (patch) | |
| tree | d9fb6fcdd1f729251b8f03127af7bd020007933a | |
| parent | 26fd98fe9a423764b7edc245208ad43c0e996dbc (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
| -rw-r--r-- | sway/desktop/transaction.c | 1 |
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); |
