format: Fixed PR formatting

This commit is contained in:
Ilia Malanin 2026-02-14 01:40:31 +01:00 committed by Victoria Brekenfeld
parent 244111330b
commit 7f33014710
2 changed files with 9 additions and 3 deletions

View file

@ -3359,7 +3359,10 @@ impl Shell {
};
to_workspace.floating_layer.map(mapped.clone(), position);
if was_maximized {
let geometry = to_workspace.floating_layer.element_geometry(mapped).unwrap();
let geometry = to_workspace
.floating_layer
.element_geometry(mapped)
.unwrap();
*mapped.maximized_state.lock().unwrap() = Some(MaximizedState {
original_geometry: geometry,
original_layer: ManagedLayer::Floating,