tree: don't make xdg-popup visible if parent is not visible
This commit is contained in:
parent
25848be92f
commit
f00b8075e0
4 changed files with 20 additions and 0 deletions
|
|
@ -140,6 +140,10 @@ impl XdgPopupParent for Popup {
|
|||
}
|
||||
}
|
||||
|
||||
fn visible(&self) -> bool {
|
||||
self.parent.surface.visible.get()
|
||||
}
|
||||
|
||||
fn tray_item(&self) -> Option<TrayItemId> {
|
||||
self.parent.clone().tray_item()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue