mirror of
https://github.com/swaywm/sway.git
synced 2025-10-28 05:40:16 -04:00
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
This commit is contained in:
parent
652019d6da
commit
a4072486de
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue