From 2aea42c2750f578431f4ca35eebe85a745fcb062 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Mon, 7 Apr 2025 13:55:19 +0800 Subject: [PATCH] fix: scroller is mistakenly reset when chang focus in tag animaiton --- maomao.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maomao.c b/maomao.c index 794db29..a8ebf18 100644 --- a/maomao.c +++ b/maomao.c @@ -1646,6 +1646,8 @@ arrange(Monitor *m, bool want_animation) { c->animainit_geom.x = c->animation.running ? c->animation.current.x : m->m.x - c->geom.width; } + } else { + c->animainit_geom.x = c->animation.current.x; } c->animation.from_rule = false;