shell: Send on_commit to sticky windows as well

This commit is contained in:
Victoria Brekenfeld 2024-03-28 13:10:28 +01:00
parent b371a26362
commit 6416299d58
3 changed files with 15 additions and 29 deletions

View file

@ -242,14 +242,11 @@ impl CompositorHandler for State {
element.clone(),
&mut self.common.shell,
);
if let Some(workspace) = self.common.shell.space_for_mut(&element) {
workspace.commit(surface);
}
}
}
// and refresh smithays internal state
self.common.shell.popups.commit(surface);
self.common.shell.on_commit(surface);
// re-arrange layer-surfaces (commits may change size and positioning)
let layer_output = self