fix: none type not apply in close animaiton rule
This commit is contained in:
4
maomao.c
4
maomao.c
@@ -6126,6 +6126,10 @@ void init_fadeout_client(Client *c) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(c->animation_type_close && strcmp(c->animation_type_close, "none") == 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
Client *fadeout_cient = ecalloc(1, sizeof(*fadeout_cient));
|
Client *fadeout_cient = ecalloc(1, sizeof(*fadeout_cient));
|
||||||
|
|
||||||
wlr_scene_node_set_enabled(&c->scene->node, true);
|
wlr_scene_node_set_enabled(&c->scene->node, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user