mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-28 01:40:23 -05:00
opt: optimize null check in get_next_stack_client
This commit is contained in:
parent
3ebb9a1508
commit
54779e3cbd
2 changed files with 15 additions and 3 deletions
|
|
@ -101,7 +101,7 @@
|
|||
(A && !(A)->isfloating && !(A)->isminied && !(A)->iskilling && \
|
||||
!(A)->ismaximizescreen && !(A)->isfullscreen)
|
||||
#define VISIBLEON(C, M) \
|
||||
((M) && (C)->mon == (M) && ((C)->tags & (M)->tagset[(M)->seltags]))
|
||||
((C) && (M) && (C)->mon == (M) && ((C)->tags & (M)->tagset[(M)->seltags]))
|
||||
#define LENGTH(X) (sizeof X / sizeof X[0])
|
||||
#define END(A) ((A) + LENGTH(A))
|
||||
#define TAGMASK ((1 << LENGTH(tags)) - 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue