From f2eb995d56f0ca9cd8a5ed9cb201c2bdfa66a5db Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Thu, 11 Sep 2025 12:45:34 +0800 Subject: [PATCH] fix: use smartgaps miss tagin animaiton in scroller layput --- src/mango.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mango.c b/src/mango.c index a11adec..ae2de77 100644 --- a/src/mango.c +++ b/src/mango.c @@ -96,9 +96,9 @@ #define GEZERO(A) ((A) >= 0 ? (A) : 0) #define CLEANMASK(mask) (mask & ~WLR_MODIFIER_CAPS) #define INSIDEMON(A) \ - (A->geom.x > A->mon->m.x && A->geom.y > A->mon->m.y && \ - A->geom.x + A->geom.width < A->mon->m.x + A->mon->m.width && \ - A->geom.y + A->geom.height < A->mon->m.y + A->mon->m.height) + (A->geom.x >= A->mon->m.x && A->geom.y >= A->mon->m.y && \ + A->geom.x + A->geom.width <= A->mon->m.x + A->mon->m.width && \ + A->geom.y + A->geom.height <= A->mon->m.y + A->mon->m.height) #define ISTILED(A) \ (A && !(A)->isfloating && !(A)->isminied && !(A)->iskilling && \ !(A)->ismaxmizescreen && !(A)->isfullscreen)