fix: use smartgaps miss tagin animaiton in scroller layput

This commit is contained in:
DreamMaoMao 2025-09-11 12:45:34 +08:00
parent 4b8d74668e
commit f2eb995d56

View file

@ -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)