mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-25 06:59:50 -05:00
fix: none type not apply in close animaiton rule
This commit is contained in:
parent
40d74c202a
commit
78f9266b72
1 changed files with 4 additions and 0 deletions
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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue