fix(wayland): share a grabbing popup's modifiers with its toplevel
This commit is contained in:
parent
5716b9a691
commit
6f1b3a7170
5 changed files with 90 additions and 1 deletions
|
|
@ -74,6 +74,11 @@ impl PlatformSpecific {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(wayland_platform)]
|
||||
pub(crate) fn has_popup(&self, toplevel: window::Id) -> bool {
|
||||
self.wayland.has_popup(toplevel)
|
||||
}
|
||||
|
||||
pub(crate) fn retain_subsurfaces<F: Fn(window::Id) -> bool>(
|
||||
&mut self,
|
||||
keep: F,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue