From: Christopher Drelich Date: Wed, 14 Mar 2018 16:44:53 +0000 (+0100) Subject: ColBorder has been moved to the enum with ColFg and ColBg. X-Git-Url: https://git.danieliu.xyz/?p=dwm.git;a=commitdiff_plain;h=3cb34830eb25ebda15a23d8391fd69cddb4fc024 ColBorder has been moved to the enum with ColFg and ColBg. --- 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 */