From a59b1040e47e99a3f4b55e61174bb5544e33e5a2 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Sat, 14 Jun 2025 11:04:17 +0800 Subject: [PATCH] fix: Sometimes the window flashes when reresizing when there is no animation --- src/maomao.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/maomao.c b/src/maomao.c index 99f2263..950ffe3 100644 --- a/src/maomao.c +++ b/src/maomao.c @@ -5672,7 +5672,7 @@ void resize(Client *c, struct wlr_box geo, int interact) { c->configure_serial = client_set_size(c, c->geom.width - 2 * c->bw, c->geom.height - 2 * c->bw); - if (c == grabc) { + if (!animations || c == grabc) { c->animation.running = false; c->need_output_flush = false; c->animainit_geom = c->current = c->pending = c->animation.current =