From d9da4930c7f46a417f0e556ff21a22b365d84480 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Sat, 17 Jan 2026 14:23:34 +0800 Subject: [PATCH] fix: fix floating in scroller stack --- src/mango.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mango.c b/src/mango.c index c3ff10b..4a9d3b3 100644 --- a/src/mango.c +++ b/src/mango.c @@ -4578,6 +4578,8 @@ setfloating(Client *c, int32_t floating) { c->bw = c->isnoborder ? 0 : borderpx; } + exit_scroller_stack(c); + // 重新计算居中的坐标 if (!client_is_x11(c) && !c->iscustompos) target_box =