fix: miss make grabc exit scroll stack

This commit is contained in:
DreamMaoMao 2026-03-25 19:44:29 +08:00
parent 585e9ae4b6
commit 4ccd56ad01

View file

@ -376,6 +376,7 @@ int32_t moveresize(const Arg *arg) {
/* Float the window and tell motionnotify to grab it */ /* Float the window and tell motionnotify to grab it */
if (grabc->isfloating == 0 && arg->ui == CurMove) { if (grabc->isfloating == 0 && arg->ui == CurMove) {
grabc->drag_to_tile = true; grabc->drag_to_tile = true;
exit_scroller_stack(grabc);
setfloating(grabc, 1); setfloating(grabc, 1);
} }