shell: xdg-popup positioning logic

This commit is contained in:
Victoria Brekenfeld 2022-07-05 18:46:38 +02:00
parent c3c0a25a80
commit be136306cc
6 changed files with 434 additions and 13 deletions

View file

@ -195,6 +195,8 @@ impl TilingLayout {
}
}
}
let mut changed = false;
while let Some(dead_windows) = Some(TilingLayout::update_space_positions(
&mut self.trees,
space,
@ -205,6 +207,12 @@ impl TilingLayout {
for window in dead_windows {
self.unmap_window_internal(&window);
}
changed = true;
}
if changed {
for window in &self.windows {
update_reactive_popups(space, window);
}
}
}