fix: fix floating in scroller stack

This commit is contained in:
DreamMaoMao 2026-01-17 14:23:34 +08:00
parent 4d5474d218
commit d9da4930c7

View file

@ -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 =