xdg_popup: copy parent properties during construction
This commit is contained in:
parent
a2eb810e9d
commit
cf5d544ebf
1 changed files with 2 additions and 0 deletions
|
|
@ -389,6 +389,8 @@ impl XdgSurfaceRequestHandler for XdgSurface {
|
|||
workspace_link: Default::default(),
|
||||
});
|
||||
popup.parent.set(Some(user.clone()));
|
||||
popup.xdg.set_popup_stack(&parent.popup_display_stack.get());
|
||||
popup.xdg.set_output(&parent.surface.output.get());
|
||||
parent.popups.set(req.id, user);
|
||||
}
|
||||
self.ext.set(Some(popup));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue