From 6f05de6512f698e4110250dd17478356d2c5dc0a Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Thu, 20 Feb 2025 08:25:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8A=A8=E7=94=BB=E7=BB=88?= =?UTF-8?q?=E7=82=B9=E6=8A=96=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- maomao.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maomao.c b/maomao.c index 623ce547..66be81b9 100644 --- a/maomao.c +++ b/maomao.c @@ -875,8 +875,8 @@ void client_apply_clip(Client *c) { } animationScale scale_data; - scale_data.width = clip_box.width - c->bw; - scale_data.height = clip_box.height -c->bw; + scale_data.width = clip_box.width - 2 * c->bw; + scale_data.height = clip_box.height - 2* c->bw; wlr_scene_subsurface_tree_set_clip(&c->scene_surface->node, &clip_box); apply_border(c, clip_box, offset); if(c->animation.running) {