~ruther/dwl

8f2079b925edd825ffbfadfc9a062a8747e8ca72 — Rutherther 11 months ago 64b845b patch/singletagset-sticky
fix: make sure sticky stays on same monitor until moved explicitely
1 files changed, 2 insertions(+), 2 deletions(-)

M dwl.c
M dwl.c => dwl.c +2 -2
@@ 71,8 71,8 @@
#define MIN(A, B)               ((A) < (B) ? (A) : (B))
#define ROUND(X)                ((int)((X < 0) ? (X - 0.5) : (X + 0.5)))
#define CLEANMASK(mask)         (mask & ~WLR_MODIFIER_CAPS)
#define VISIBLEON(C, M)         ((M) && (C)->mon == (M) && ((C)->tags & (M)->tagset[(M)->seltags]) || (C)->issticky)
#define SVISIBLEON(C, M)        ((M) && (C)->mon && ((C)->tags & (M)->tagset[(M)->seltags]))
#define VISIBLEON(C, M)         ((M) && (C)->mon == (M) && ((C)->tags & ((M)->tagset[(M)->seltags]) || C->issticky))
#define SVISIBLEON(C, M)        ((M) && (C)->mon && ((C)->tags & ((M)->tagset[(M)->seltags])) && (!(C)->issticky || (C)->mon == (M)))
#define LENGTH(X)               (sizeof X / sizeof X[0])
#define END(A)                  ((A) + LENGTH(A))
#define TAGMASK                 ((1u << TAGCOUNT) - 1)

Do not follow this link