chore: formatting fixes

This commit is contained in:
Victoria Brekenfeld 2026-07-15 18:23:06 +02:00 • committed by Victoria Brekenfeld
parent 8ab946f10a
commit 2d95d46a37
2 changed files with 14 additions and 13 deletions

View file

@ -3880,11 +3880,11 @@ impl Shell {
(initial_window_location, layer, workspace.handle)
} else {
let sticky_layer = self
.workspaces
.sets
.get_mut(&cursor_output)
.filter(|set| set.sticky_layer.mapped().any(|m| m == &old_mapped))
.map(|set| &mut set.sticky_layer)?;
.workspaces
.sets
.get_mut(&cursor_output)
.filter(|set| set.sticky_layer.mapped().any(|m| m == &old_mapped))
.map(|set| &mut set.sticky_layer)?;
let elem_geo = sticky_layer.element_geometry(&old_mapped).unwrap();
let mut initial_window_location = elem_geo.loc.to_global(&cursor_output);