projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db22360
)
ColBorder has been moved to the enum with ColFg and ColBg.
author
Christopher Drelich
<cd@cdrakka.com>
Wed, 14 Mar 2018 16:44:53 +0000
(17:44 +0100)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Wed, 14 Mar 2018 16:46:48 +0000
(17:46 +0100)
drw.h
patch
|
blob
|
history
dwm.c
patch
|
blob
|
history
diff --git
a/drw.h
b/drw.h
index 4c67419a98dd6d87e0b15e6f14094f24aa44c143..4bcd5addc613d5a0c73502b65b27489573460efa 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 ec6a27c6cda826db9b0c82956f834c51f7b34444..ab16c755ab9b517fb1c2eb11ac201563a3f03842 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 */