sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit f8e1bdc7defdaedd13276dc7e1250f89f18d1c82
parent 7cab92aa87d673dc139a2e921b63d75dd2cd01b9
Author: Lloyd Everett <lloydeverett@gmail.com>
Date:   Thu, 17 Nov 2016 16:28:00 +0200

Fix typo in sticky patch causing segfault

Diffstat:
Mdwm.suckless.org/patches/dwm-sticky-20160911-ab9571b.diff | 2+-
Mdwm.suckless.org/patches/dwm-sticky-6.1.diff | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dwm.suckless.org/patches/dwm-sticky-20160911-ab9571b.diff b/dwm.suckless.org/patches/dwm-sticky-20160911-ab9571b.diff @@ -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 @@ -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)