shell: Rework fullscreen/maximize
This commit is contained in:
parent
716728560a
commit
abf430f956
6 changed files with 208 additions and 142 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue