shell: Lift recalculate to consider sticky_layer

This commit is contained in:
Victoria Brekenfeld 2023-12-20 20:32:10 +00:00 • committed by Victoria Brekenfeld
parent 769b7d6996
commit 10c196a080
3 changed files with 9 additions and 6 deletions

View file

@ -252,9 +252,7 @@ impl CompositorHandler for State {
if let Some(output) = layer_output {
let changed = layer_map_for_output(&output).arrange();
if changed {
for workspace in self.common.shell.workspaces.spaces_mut() {
workspace.recalculate();
}
self.common.shell.workspaces.recalculate();
}
}