diff --git a/src/animation/client.h b/src/animation/client.h index a1d7a62..65ea9d8 100644 --- a/src/animation/client.h +++ b/src/animation/client.h @@ -883,9 +883,7 @@ void client_set_pending_state(Client *c) { (!c->animation_type_open && strcmp(animation_type_open, "none") == 0)) && c->animation.action == OPEN) { - c->animation.action = MOVE; - c->is_pending_open_animation = false; - c->animation.should_animate = false; + c->animation.duration = 0; } // 开始动画