mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-27 07:58:53 -04:00
opt: dont fade out shield client when capture
This commit is contained in:
parent
bbd7f5b89c
commit
08ea40b6d6
1 changed files with 4 additions and 0 deletions
|
|
@ -656,6 +656,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