mirror of
https://github.com/swaywm/sway.git
synced 2025-10-08 13:16:05 +00:00
container: set scaling group hint on creation
Signed-off-by: Loukas Agorgianitis <loukas@agorgianitis.com>
This commit is contained in:
parent
8292d15a3a
commit
2ffea351e3
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ struct sway_container *container_create(struct sway_view *view) {
|
|||
// - buffer used for output enter/leave events for foreign_toplevel
|
||||
bool failed = false;
|
||||
c->scene_tree = alloc_scene_tree(root->staging, &failed);
|
||||
c->scene_tree->node.scaling_group = true;
|
||||
|
||||
c->title_bar.tree = alloc_scene_tree(c->scene_tree, &failed);
|
||||
c->title_bar.border = alloc_scene_tree(c->title_bar.tree, &failed);
|
||||
|
|
Loading…
Add table
Reference in a new issue