mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-03 09:01:47 -05:00
feat: add global option animation_fade_out
This commit is contained in:
parent
0a9181ecb0
commit
2f61e14eeb
4 changed files with 10 additions and 3 deletions
|
|
@ -959,7 +959,7 @@ void fadeout_client_animation_next_tick(Client *c) {
|
|||
|
||||
double opacity = MAX(fadeout_begin_opacity - animation_passed, 0);
|
||||
|
||||
if(!c->nofadeout)
|
||||
if(animation_fade_out && !c->nofadeout)
|
||||
wlr_scene_node_for_each_buffer(&c->scene->node, scene_buffer_apply_opacity,
|
||||
&opacity);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue