fix(wayland): share a grabbing popup's modifiers with its toplevel

This commit is contained in:
Hojjat 2026-09-21 15:02:24 -06:00 • committed by Jeremy Soller
parent 5716b9a691
commit 6f1b3a7170
5 changed files with 90 additions and 1 deletions

View file

@ -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,