tree: set toplevel on newly created subsurfaces
This commit is contained in:
parent
76c47c24d0
commit
5afde58086
1 changed files with 1 additions and 0 deletions
|
|
@ -129,6 +129,7 @@ impl WlSubsurface {
|
|||
})
|
||||
};
|
||||
*self.pending.node.borrow_mut() = Some(node);
|
||||
self.surface.set_toplevel(self.parent.toplevel.get());
|
||||
self.sync_ancestor.set(sync_ancestor);
|
||||
self.depth.set(depth);
|
||||
self.surface.ext.set(self.clone());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue