[hackers] [dwm] ColBorder has been moved to the enum with ColFg and ColBg. || Christopher Drelich

From: <git_AT_suckless.org>
Date: Wed, 14 Mar 2018 17:47:25 +0100 (CET)

commit 3cb34830eb25ebda15a23d8391fd69cddb4fc024
Author: Christopher Drelich <cd_AT_cdrakka.com>
AuthorDate: Wed Mar 14 17:44:53 2018 +0100
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
CommitDate: Wed Mar 14 17:46:48 2018 +0100

    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
_AT_@ -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
_AT_@ -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 */
Received on Wed Mar 14 2018 - 17:47:25 CET

This archive was generated by hypermail 2.3.0 : Wed Mar 14 2018 - 17:48:25 CET