shell: Recalculate tiling-layer when layer-shell updates
This commit is contained in:
parent
a9489b50c5
commit
1868f6b0f7
5 changed files with 30 additions and 10 deletions
|
|
@ -75,6 +75,10 @@ impl WlrLayerShellHandler for State {
|
|||
map.unmap_layer(&layer);
|
||||
}
|
||||
|
||||
for workspace in self.common.shell.workspaces.spaces_mut() {
|
||||
workspace.tiling_layer.recalculate(&output);
|
||||
}
|
||||
|
||||
// collect screencopy sessions needing an update
|
||||
let mut scheduled_sessions = self.schedule_workspace_sessions(surface.wl_surface());
|
||||
if let Some(sessions) = output.user_data().get::<PendingScreencopyBuffers>() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue