From 7747cb19d754612ab1da6e9b941f1329f362a89e Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Wed, 19 Feb 2025 09:12:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=BE=E5=A4=A7=E5=8A=A8=E7=94=BB=E4=B8=8D?= =?UTF-8?q?=E5=AF=B9buffer=E8=BF=9B=E8=A1=8C=E7=BC=A9=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- maomao.c | 3 +++ 1 file changed, 3 insertions(+) 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; }