mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-20 06:59:50 -05:00
opt: optimize client live check
This commit is contained in:
parent
844b6e049f
commit
5d819aed83
1 changed files with 3 additions and 0 deletions
|
|
@ -742,6 +742,9 @@ void client_commit(Client *c) {
|
|||
|
||||
void client_set_pending_state(Client *c) {
|
||||
|
||||
if (!c || c->iskilling)
|
||||
return;
|
||||
|
||||
// 判断是否需要动画
|
||||
if (!animations) {
|
||||
c->animation.should_animate = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue