opt: optimize client live check
This commit is contained in:
@@ -863,6 +863,9 @@ void client_commit(Client *c) {
|
|||||||
|
|
||||||
void client_set_pending_state(Client *c) {
|
void client_set_pending_state(Client *c) {
|
||||||
|
|
||||||
|
if (!c || c->iskilling)
|
||||||
|
return;
|
||||||
|
|
||||||
// 判断是否需要动画
|
// 判断是否需要动画
|
||||||
if (!animations) {
|
if (!animations) {
|
||||||
c->animation.should_animate = false;
|
c->animation.should_animate = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user