stack: Adjust decorations to window geometry

This commit is contained in:
Victoria Brekenfeld 2024-03-28 18:21:44 +01:00
parent 10940a723f
commit 3da08ed22d
4 changed files with 63 additions and 21 deletions

View file

@ -1699,12 +1699,7 @@ impl Shell {
pub fn on_commit(&mut self, surface: &WlSurface) {
if let Some(mapped) = self.element_for_surface(surface) {
mapped
.windows()
.find(|(w, _)| w.wl_surface().as_ref() == Some(surface))
.unwrap()
.0
.on_commit();
mapped.on_commit(surface);
}
self.popups.commit(surface);
}