move_grab: End correctly when removed externally

This commit is contained in:
Victoria Brekenfeld 2023-12-11 16:11:07 +00:00 committed by Victoria Brekenfeld
parent 131ab8fe9e
commit e347076145
4 changed files with 102 additions and 87 deletions

View file

@ -1161,6 +1161,7 @@ impl PointerTarget<State> for CosmicStack {
indicator_thickness,
was_tiled,
ReleaseMode::NoMouseButtons,
data.common.event_loop_handle.clone(),
);
if grab.is_tiling_grab() {
data.common.shell.set_overview_mode(