summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-08-22 16:42:29 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-08-22 16:42:29 +0200
commit595028614bc94c1733b28725dcf9777b0a47ad24 (patch)
treed3b6ec84b89905674e4df3ec440e36b4e2f8d23b
parentremoved badmalloc (thx for the pointer to Uriel) (diff)
downloaddwm-595028614bc94c1733b28725dcf9777b0a47ad24.tar.gz
dwm-595028614bc94c1733b28725dcf9777b0a47ad24.zip
removed DEFTAG
-rw-r--r--config.arg.h1
-rw-r--r--config.default.h3
-rw-r--r--main.c2
3 files changed, 2 insertions, 4 deletions
diff --git a/config.arg.h b/config.arg.h
index 1cc7cd7..d346856 100644
--- a/config.arg.h
+++ b/config.arg.h
@@ -7,7 +7,6 @@
7const char *tags[] = { "work", "net", "fnord", NULL }; 7const char *tags[] = { "work", "net", "fnord", NULL };
8 8
9#define DEFMODE dotile /* dofloat */ 9#define DEFMODE dotile /* dofloat */
10#define DEFTAG 0 /* index */
11#define TFONT "-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*" 10#define TFONT "-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*"
12#define FONT "-*-snap-*-*-*-*-*-*-*-*-*-*-*-*" 11#define FONT "-*-snap-*-*-*-*-*-*-*-*-*-*-*-*"
13#define BGCOLOR "#0d121d" 12#define BGCOLOR "#0d121d"
diff --git a/config.default.h b/config.default.h
index 387b24f..fd9ada6 100644
--- a/config.default.h
+++ b/config.default.h
@@ -4,10 +4,9 @@
4 */ 4 */
5 5
6#define TAGS \ 6#define TAGS \
7const char *tags[] = { "0", "1", "2", "3", "4", NULL }; 7const char *tags[] = { "1", "2", "3", "4", "0", NULL };
8 8
9#define DEFMODE dotile /* dofloat */ 9#define DEFMODE dotile /* dofloat */
10#define DEFTAG 1 /* index */
11#define FONT "fixed" 10#define FONT "fixed"
12#define BGCOLOR "#666699" 11#define BGCOLOR "#666699"
13#define FGCOLOR "#eeeeee" 12#define FGCOLOR "#eeeeee"
diff --git a/main.c b/main.c
index 4aad990..a51ba88 100644
--- a/main.c
+++ b/main.c
@@ -241,7 +241,7 @@ main(int argc, char *argv[])
241 241
242 for(ntags = 0; tags[ntags]; ntags++); 242 for(ntags = 0; tags[ntags]; ntags++);
243 seltag = emallocz(sizeof(Bool) * ntags); 243 seltag = emallocz(sizeof(Bool) * ntags);
244 seltag[DEFTAG] = True; 244 seltag[0] = True;
245 245
246 /* style */ 246 /* style */
247 dc.bg = getcolor(BGCOLOR); 247 dc.bg = getcolor(BGCOLOR);