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);