From 78f9266b723a5a36fdc3cd1a5c1ed21b979797e6 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Fri, 28 Mar 2025 22:37:00 +0800 Subject: [PATCH] fix: none type not apply in close animaiton rule --- maomao.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/maomao.c b/maomao.c index bb54731..0281c0b 100644 --- a/maomao.c +++ b/maomao.c @@ -6126,6 +6126,10 @@ void init_fadeout_client(Client *c) { return; } + if(c->animation_type_close && strcmp(c->animation_type_close, "none") == 0) { + return; + } + Client *fadeout_cient = ecalloc(1, sizeof(*fadeout_cient)); wlr_scene_node_set_enabled(&c->scene->node, true);