From 08ea40b6d6bc7c3a69b397f592b1d8f462ff5398 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Thu, 19 Feb 2026 19:12:01 +0800 Subject: [PATCH] opt: dont fade out shield client when capture --- src/animation/client.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/animation/client.h b/src/animation/client.h index 419b5ed..f767a39 100644 --- a/src/animation/client.h +++ b/src/animation/client.h @@ -656,6 +656,10 @@ void init_fadeout_client(Client *c) { return; } + if (c->shield_when_capture && active_capture_count > 0) { + return; + } + if ((c->animation_type_close && strcmp(c->animation_type_close, "none") == 0) || (!c->animation_type_close &&