From b003361240fcaa4574e25cd8b4bdba43523372d4 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Wed, 9 Jul 2025 14:59:14 +0800 Subject: [PATCH] opt: border disappear too fast when in tagout animation --- src/animation/client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/animation/client.h b/src/animation/client.h index 1ebd25e..53e861d 100644 --- a/src/animation/client.h +++ b/src/animation/client.h @@ -489,7 +489,7 @@ struct ivec2 clip_to_hide(Client *c, struct wlr_box *clip_box) { offset.width = offsetw; offset.height = offseth; - if ((clip_box->width <= 0 || clip_box->height <= 0) && + if ((clip_box->width + bw <= 0 || clip_box->height + bw <= 0) && (ISTILED(c) || c->animation.tagouting || c->animation.tagining)) { c->is_clip_to_hide = true; wlr_scene_node_set_enabled(&c->scene->node, false);