tiling: Don't crash when swapping with group

This commit is contained in:
Victoria Brekenfeld 2024-07-03 21:23:10 +02:00
parent b9a323c9ff
commit c42a2ac279

View file

@ -5184,7 +5184,7 @@ where
.stack_ref()
.map(|stack| &stack.active() != stack_window)
.unwrap_or(false),
_ => unreachable!(),
_ => false,
})
.unwrap_or(false)
})
@ -5269,7 +5269,7 @@ where
.stack_ref()
.map(|stack| &stack.active() == stack_window)
.unwrap_or(false),
_ => unreachable!(), // TODO: We could swap with a group
_ => false,
})
.unwrap_or(false)
})