fix: prevent window from disappearing when dropped on same workspace

This commit is contained in:
Hojjat 2026-07-17 14:36:42 -06:00 • committed by Ashley Wulber
parent 9c5f5a2584
commit 35c2a4eae5

View file

@ -887,12 +887,12 @@ impl Application for App {
self.sub_ctr += 1;
t.pending_move = Some(workspace.clone());
}
self.send_wayland_cmd(backend::Cmd::MoveToplevelToWorkspace(
handle.clone(),
workspace,
output,
));
}
self.drag_surface = None;
let to_update: Vec<_> = self