summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Drelich <cd@cdrakka.com>2018-03-14 17:44:53 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2018-03-14 17:46:48 +0100
commit3cb34830eb25ebda15a23d8391fd69cddb4fc024 (patch)
tree2d8fb02e295f1bf15de62ed19b2d31e8ca876b23
parentdb2236001c1cb042a2f24052849da96578273b1c (diff)
downloaddwm-3cb34830eb25ebda15a23d8391fd69cddb4fc024.tar.gz
ColBorder has been moved to the enum with ColFg and ColBg.
-rw-r--r--drw.h2
-rw-r--r--dwm.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/drw.h b/drw.h
index 4c67419..4bcd5ad 100644
--- 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
--- 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 */