Xinqi Bao's Git
projects
/
dwm.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
7df39f3
)
removed MAXTAGLEN
author
Anselm R Garbe <
[email protected]
>
Fri, 29 May 2009 08:29:22 +0000
(09:29 +0100)
committer
Anselm R Garbe <
[email protected]
>
Fri, 29 May 2009 08:29:22 +0000
(09:29 +0100)
config.def.h
patch
|
blob
|
history
dwm.c
patch
|
blob
|
history
diff --git
a/config.def.h
b/config.def.h
index
b270fef
..
ca2d423
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-1,7
+1,7
@@
/* See LICENSE file for copyright and license details. */
/* appearance */
/* See LICENSE file for copyright and license details. */
/* appearance */
-static const char font[] = "-*-
terminus-medium-r-normal
-*-14-*-*-*-*-*-*-*";
+static const char font[] = "-*-
*-medium-*-*
-*-14-*-*-*-*-*-*-*";
static const char normbordercolor[] = "#cccccc";
static const char normbgcolor[] = "#cccccc";
static const char normfgcolor[] = "#000000";
static const char normbordercolor[] = "#cccccc";
static const char normbgcolor[] = "#cccccc";
static const char normfgcolor[] = "#000000";
@@
-14,7
+14,7
@@
static Bool showbar = True; /* False means no bar */
static Bool topbar = True; /* False means bottom bar */
/* tagging */
static Bool topbar = True; /* False means bottom bar */
/* tagging */
-static const char
tags[][MAXTAGLEN
] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
+static const char
*tags[
] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
static unsigned int tagset[] = {1, 1}; /* after start, first tag is selected */
static Rule rules[] = {
static unsigned int tagset[] = {1, 1}; /* after start, first tag is selected */
static Rule rules[] = {
diff --git
a/dwm.c
b/dwm.c
index
9266892
..
1709db0
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-48,7
+48,6
@@
#define LENGTH(x) (sizeof x / sizeof x[0])
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#define LENGTH(x) (sizeof x / sizeof x[0])
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define MIN(a, b) ((a) < (b) ? (a) : (b))
-#define MAXTAGLEN 16
#define MOUSEMASK (BUTTONMASK|PointerMotionMask)
#define WIDTH(x) ((x)->w + 2 * (x)->bw)
#define HEIGHT(x) ((x)->h + 2 * (x)->bw)
#define MOUSEMASK (BUTTONMASK|PointerMotionMask)
#define WIDTH(x) ((x)->w + 2 * (x)->bw)
#define HEIGHT(x) ((x)->h + 2 * (x)->bw)