floating: Fix crash resizing tiled windows
This commit is contained in:
parent
2174474012
commit
bbb9016113
1 changed files with 1 additions and 1 deletions
|
|
@ -462,7 +462,7 @@ impl FloatingLayout {
|
|||
release: ReleaseMode,
|
||||
) -> Option<ResizeSurfaceGrab> {
|
||||
if seat.get_pointer().is_some() {
|
||||
let location = self.space.element_location(&mapped).unwrap().as_local();
|
||||
let location = self.space.element_location(&mapped)?.as_local();
|
||||
let size = mapped.geometry().size;
|
||||
mapped.moved_since_mapped.store(true, Ordering::SeqCst);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue