chore: formatting fixes
This commit is contained in:
parent
8ab946f10a
commit
2d95d46a37
2 changed files with 14 additions and 13 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue