From e0c3101c0c08e549f03e83a5ae7a38f245a93813 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Sat, 14 Jun 2025 19:52:10 +0800 Subject: [PATCH] fix: error clip width height --- src/maomao.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/maomao.c b/src/maomao.c index 9d3f08f..3c0705a 100644 --- a/src/maomao.c +++ b/src/maomao.c @@ -1221,7 +1221,7 @@ struct uvec2 clip_to_hide(Client *c, struct wlr_box *clip_box) { clip_box->width = clip_box->width - (c->animation.current.x + c->animation.current.width - - c->mon->m.x - c->mon->m.width) + + c->mon->m.x - c->mon->m.width) - c->bw; } @@ -1235,7 +1235,7 @@ struct uvec2 clip_to_hide(Client *c, struct wlr_box *clip_box) { clip_box->height = clip_box->height - (c->animation.current.y + c->animation.current.height - - c->mon->m.y - c->mon->m.height) + + c->mon->m.y - c->mon->m.height) - c->bw; } }