mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-01 06:46:34 -04:00
opt: dont fade out shield client when capture
This commit is contained in:
parent
7aa79a430b
commit
a411924331
1 changed files with 4 additions and 0 deletions
|
|
@ -783,6 +783,10 @@ void init_fadeout_client(Client *c) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (c->shield_when_capture && active_capture_count > 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if ((c->animation_type_close &&
|
if ((c->animation_type_close &&
|
||||||
strcmp(c->animation_type_close, "none") == 0) ||
|
strcmp(c->animation_type_close, "none") == 0) ||
|
||||||
(!c->animation_type_close &&
|
(!c->animation_type_close &&
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue