diff options
| author | Christopher Drelich <cd@cdrakka.com> | 2018-03-14 17:44:53 +0100 |
|---|---|---|
| committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2018-03-14 17:46:48 +0100 |
| commit | 3cb34830eb25ebda15a23d8391fd69cddb4fc024 (patch) | |
| tree | 2d8fb02e295f1bf15de62ed19b2d31e8ca876b23 | |
| parent | dont NUL terminate _NET_WM_NAME (diff) | |
| download | dwm-3cb34830eb25ebda15a23d8391fd69cddb4fc024.tar.gz dwm-3cb34830eb25ebda15a23d8391fd69cddb4fc024.zip | |
ColBorder has been moved to the enum with ColFg and ColBg.
| -rw-r--r-- | drw.h | 2 | ||||
| -rw-r--r-- | dwm.c | 1 |
2 files changed, 1 insertions, 2 deletions
| @@ -12,7 +12,7 @@ typedef struct Fnt { | |||
| 12 | struct Fnt *next; | 12 | struct Fnt *next; |
| 13 | } Fnt; | 13 | } Fnt; |
| 14 | 14 | ||
| 15 | enum { ColFg, ColBg }; /* Clr scheme index */ | 15 | enum { ColFg, ColBg, ColBorder }; /* Clr scheme index */ |
| 16 | typedef XftColor Clr; | 16 | typedef XftColor Clr; |
| 17 | 17 | ||
| 18 | typedef struct { | 18 | typedef struct { |
| @@ -56,7 +56,6 @@ | |||
| 56 | #define HEIGHT(X) ((X)->h + 2 * (X)->bw) | 56 | #define HEIGHT(X) ((X)->h + 2 * (X)->bw) |
| 57 | #define TAGMASK ((1 << LENGTH(tags)) - 1) | 57 | #define TAGMASK ((1 << LENGTH(tags)) - 1) |
| 58 | #define TEXTW(X) (drw_fontset_getwidth(drw, (X)) + lrpad) | 58 | #define TEXTW(X) (drw_fontset_getwidth(drw, (X)) + lrpad) |
| 59 | #define ColBorder 2 | ||
| 60 | 59 | ||
| 61 | /* enums */ | 60 | /* enums */ |
| 62 | enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */ | 61 | enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */ |
