shell: More cleanups

This commit is contained in:
Victoria Brekenfeld 2022-04-26 18:55:04 +02:00
parent 11fabec166
commit 4ecc043cab

View file

@ -428,6 +428,7 @@ impl Shell {
}
pub fn refresh(&mut self) {
self.popups.cleanup();
for output in self.outputs.iter() {
let workspace = match &self.mode {
Mode::OutputBound => {
@ -442,6 +443,9 @@ impl Shell {
Mode::Global { active } => &mut self.spaces[*active],
};
workspace.refresh();
let mut map = layer_map_for_output(output);
map.cleanup();
map.arrange();
}
}