[wiki] [sites] Fix typo in sticky patch causing segfault || Lloyd Everett
commit f8e1bdc7defdaedd13276dc7e1250f89f18d1c82
Author: Lloyd Everett <lloydeverett_AT_gmail.com>
Date: Thu Nov 17 16:28:00 2016 +0200
Fix typo in sticky patch causing segfault
diff --git a/dwm.suckless.org/patches/dwm-sticky-20160911-ab9571b.diff b/dwm.suckless.org/patches/dwm-sticky-20160911-ab9571b.diff
index f383d9b..fd16acd 100644
--- a/dwm.suckless.org/patches/dwm-sticky-20160911-ab9571b.diff
+++ b/dwm.suckless.org/patches/dwm-sticky-20160911-ab9571b.diff
_AT_@ -19,7 +19,7 @@ index 421bf27..602338a 100644
#define INTERSECT(x,y,w,h,m) (MAX(0, MIN((x)+(w),(m)->wx+(m)->ww) - MAX((x),(m)->wx)) \
* MAX(0, MIN((y)+(h),(m)->wy+(m)->wh) - MAX((y),(m)->wy)))
-#define ISVISIBLE(C) ((C->tags & C->mon->tagset[C->mon->seltags]))
-+#define ISVISIBLE(C) ((C->tags & C->mon->tagset[C->mon->seltags]) || c->issticky)
++#define ISVISIBLE(C) ((C->tags & C->mon->tagset[C->mon->seltags]) || C->issticky)
#define LENGTH(X) (sizeof X / sizeof X[0])
#define MOUSEMASK (BUTTONMASK|PointerMotionMask)
#define WIDTH(X) ((X)->w + 2 * (X)->bw)
diff --git a/dwm.suckless.org/patches/dwm-sticky-6.1.diff b/dwm.suckless.org/patches/dwm-sticky-6.1.diff
index 0defebc..717793f 100644
--- a/dwm.suckless.org/patches/dwm-sticky-6.1.diff
+++ b/dwm.suckless.org/patches/dwm-sticky-6.1.diff
_AT_@ -19,7 +19,7 @@ index 0362114..0ef5c7f 100644
#define INTERSECT(x,y,w,h,m) (MAX(0, MIN((x)+(w),(m)->wx+(m)->ww) - MAX((x),(m)->wx)) \
* MAX(0, MIN((y)+(h),(m)->wy+(m)->wh) - MAX((y),(m)->wy)))
-#define ISVISIBLE(C) ((C->tags & C->mon->tagset[C->mon->seltags]))
-+#define ISVISIBLE(C) ((C->tags & C->mon->tagset[C->mon->seltags]) || c->issticky)
++#define ISVISIBLE(C) ((C->tags & C->mon->tagset[C->mon->seltags]) || C->issticky)
#define LENGTH(X) (sizeof X / sizeof X[0])
#define MOUSEMASK (BUTTONMASK|PointerMotionMask)
#define WIDTH(X) ((X)->w + 2 * (X)->bw)
Received on Thu Nov 17 2016 - 15:31:18 CET
This archive was generated by hypermail 2.3.0
: Thu Nov 17 2016 - 15:36:16 CET