mirror of
https://github.com/swaywm/sway.git
synced 2026-04-16 08:21:30 -04:00
container: set scaling group hint on creation
Signed-off-by: Loukas Agorgianitis <loukas@agorgianitis.com>
This commit is contained in:
parent
c5d9f9ad1b
commit
44f747c921
1 changed files with 1 additions and 0 deletions
|
|
@ -110,6 +110,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
Add a link
Reference in a new issue