shell: Handle fullscreen of sticky windows

This commit is contained in:
Victoria Brekenfeld 2023-12-20 20:50:09 +00:00 committed by Victoria Brekenfeld
parent 97a13ea515
commit 0ac12ce202
2 changed files with 57 additions and 1 deletions

View file

@ -1549,6 +1549,15 @@ impl Shell {
.space_for_handle_mut(&previous_workspace)
.unwrap();
match target_layer {
ManagedLayer::Sticky => {
let output = new_workspace.output().clone();
self.workspaces
.sets
.get_mut(&output)
.unwrap()
.sticky_layer
.map(mapped, None)
}
ManagedLayer::Floating => new_workspace.floating_layer.map(mapped, None),
ManagedLayer::Tiling => new_workspace.tiling_layer.map(
mapped,