From e8e5d768c53eb95a581619dad13925cdcbc915cd Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Tue, 29 Apr 2025 22:02:15 +0800 Subject: [PATCH] opt: no scale x11 app in zoom in animaiton --- src/maomao.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/maomao.c b/src/maomao.c index 0c147a6..3b9ddc4 100644 --- a/src/maomao.c +++ b/src/maomao.c @@ -4537,6 +4537,10 @@ void buffer_set_size(Client *c, animationScale data) { return; } + if(client_is_x11(c) && c->current.height >= c->animation.current.height && c->current.width >= c->animation.current.width) { + return; + } + if (c == grabc) return;