summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config.def.h4
-rw-r--r--dwm.c1
2 files changed, 2 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h
index b270fef..ca2d423 100644
--- a/config.def.h
+++ b/config.def.h
@@ -1,7 +1,7 @@
1/* See LICENSE file for copyright and license details. */ 1/* See LICENSE file for copyright and license details. */
2 2
3/* appearance */ 3/* appearance */
4static const char font[] = "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*"; 4static const char font[] = "-*-*-medium-*-*-*-14-*-*-*-*-*-*-*";
5static const char normbordercolor[] = "#cccccc"; 5static const char normbordercolor[] = "#cccccc";
6static const char normbgcolor[] = "#cccccc"; 6static const char normbgcolor[] = "#cccccc";
7static const char normfgcolor[] = "#000000"; 7static const char normfgcolor[] = "#000000";
@@ -14,7 +14,7 @@ static Bool showbar = True; /* False means no bar */
14static Bool topbar = True; /* False means bottom bar */ 14static Bool topbar = True; /* False means bottom bar */
15 15
16/* tagging */ 16/* tagging */
17static const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; 17static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
18static unsigned int tagset[] = {1, 1}; /* after start, first tag is selected */ 18static unsigned int tagset[] = {1, 1}; /* after start, first tag is selected */
19 19
20static Rule rules[] = { 20static Rule rules[] = {
diff --git a/dwm.c b/dwm.c
index 9266892..1709db0 100644
--- a/dwm.c
+++ b/dwm.c
@@ -48,7 +48,6 @@
48#define LENGTH(x) (sizeof x / sizeof x[0]) 48#define LENGTH(x) (sizeof x / sizeof x[0])
49#define MAX(a, b) ((a) > (b) ? (a) : (b)) 49#define MAX(a, b) ((a) > (b) ? (a) : (b))
50#define MIN(a, b) ((a) < (b) ? (a) : (b)) 50#define MIN(a, b) ((a) < (b) ? (a) : (b))
51#define MAXTAGLEN 16
52#define MOUSEMASK (BUTTONMASK|PointerMotionMask) 51#define MOUSEMASK (BUTTONMASK|PointerMotionMask)
53#define WIDTH(x) ((x)->w + 2 * (x)->bw) 52#define WIDTH(x) ((x)->w + 2 * (x)->bw)
54#define HEIGHT(x) ((x)->h + 2 * (x)->bw) 53#define HEIGHT(x) ((x)->h + 2 * (x)->bw)