fix: none type not apply in close animaiton rule

This commit is contained in:
DreamMaoMao 2025-03-28 22:37:00 +08:00
parent 40d74c202a
commit 78f9266b72

View file

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