stack: Adjust decorations to window geometry
This commit is contained in:
parent
10940a723f
commit
3da08ed22d
4 changed files with 63 additions and 21 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue