mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
fix: ISTILED marco only judge tile state
This commit is contained in:
parent
df7c877614
commit
a2ee93cc34
1 changed files with 1 additions and 2 deletions
|
|
@ -101,8 +101,7 @@
|
||||||
A->geom.y + A->geom.height < A->mon->m.y + A->mon->m.height)
|
A->geom.y + A->geom.height < A->mon->m.y + A->mon->m.height)
|
||||||
#define ISTILED(A) \
|
#define ISTILED(A) \
|
||||||
(A && !(A)->isfloating && !(A)->isminied && !(A)->iskilling && \
|
(A && !(A)->isfloating && !(A)->isminied && !(A)->iskilling && \
|
||||||
!client_should_ignore_focus(A) && !(A)->isunglobal && \
|
!(A)->ismaxmizescreen && !(A)->isfullscreen)
|
||||||
!(A)->animation.tagouting && !(A)->ismaxmizescreen && !(A)->isfullscreen)
|
|
||||||
#define VISIBLEON(C, M) \
|
#define VISIBLEON(C, M) \
|
||||||
((M) && (C)->mon == (M) && ((C)->tags & (M)->tagset[(M)->seltags]))
|
((M) && (C)->mon == (M) && ((C)->tags & (M)->tagset[(M)->seltags]))
|
||||||
#define LENGTH(X) (sizeof X / sizeof X[0])
|
#define LENGTH(X) (sizeof X / sizeof X[0])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue