shell: Rework fullscreen/maximize

This commit is contained in:
Victoria Brekenfeld 2023-09-13 20:14:54 +02:00
parent 716728560a
commit abf430f956
6 changed files with 208 additions and 142 deletions

View file

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

View file

@ -76,7 +76,7 @@ impl WlrLayerShellHandler for State {
}
for workspace in self.common.shell.workspaces.spaces_mut() {
workspace.tiling_layer.recalculate(&output);
workspace.recalculate(&output);
}
// collect screencopy sessions needing an update