diff --git a/maomao.c b/maomao.c index ae4dea24..0d7de0b5 100644 --- a/maomao.c +++ b/maomao.c @@ -3636,6 +3636,9 @@ void scene_buffer_apply_size(struct wlr_scene_buffer *buffer, int sx, int sy, vo } void buffer_set_size(Client *c, animationScale data) { + if (c->animainit_geom.width < c->current.width && c->animainit_geom.height < c->geom.height) { + return; + } if(c->iskilling|| c->animation.tagouting || c->animation.tagining || c->animation.tagouted) { return; }