ColBorder has been moved to the enum with ColFg and ColBg.
authorChristopher Drelich <cd@cdrakka.com>
Wed, 14 Mar 2018 16:44:53 +0000 (17:44 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Wed, 14 Mar 2018 16:46:48 +0000 (17:46 +0100)
drw.h
dwm.c

diff --git a/drw.h b/drw.h
index 4c67419..4bcd5ad 100644 (file)
--- a/drw.h
+++ b/drw.h
@@ -12,7 +12,7 @@ typedef struct Fnt {
        struct Fnt *next;
 } Fnt;
 
-enum { ColFg, ColBg }; /* Clr scheme index */
+enum { ColFg, ColBg, ColBorder }; /* Clr scheme index */
 typedef XftColor Clr;
 
 typedef struct {
diff --git a/dwm.c b/dwm.c
index ec6a27c..ab16c75 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -56,7 +56,6 @@
 #define HEIGHT(X)               ((X)->h + 2 * (X)->bw)
 #define TAGMASK                 ((1 << LENGTH(tags)) - 1)
 #define TEXTW(X)                (drw_fontset_getwidth(drw, (X)) + lrpad)
-#define ColBorder               2
 
 /* enums */
 enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */