From ff9c163018258deebe14d416df52c4210a8a1148 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Sun, 11 May 2025 11:10:20 +0800 Subject: [PATCH] fix: The tag animation ends with redundant afterimages on other displays --- src/maomao.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/maomao.c b/src/maomao.c index 49fc2db..ba74ec0 100644 --- a/src/maomao.c +++ b/src/maomao.c @@ -1160,7 +1160,7 @@ struct uvec2 clip_to_hide(Client *c, struct wlr_box *clip_box) { offset.x = offsetx; offset.y = offsety; - if ((clip_box->width <= 0 || clip_box->height <= 0) && ISTILED(c)) { + if ((clip_box->width <= 0 || clip_box->height <= 0) && (ISTILED(c) || c->animation.tagouting || c->animation.tagining)) { c->is_clip_to_hide = true; wlr_scene_node_set_enabled(&c->scene->node, false); } else if (c->is_clip_to_hide && VISIBLEON(c, c->mon)) {