dwm

my fork of dwm
Index Commits Files Refs README LICENSE
commit 595028614bc94c1733b28725dcf9777b0a47ad24
parent 6a3ae5e26a5cebfd35f2423aec0c47843b5a85be
Author: Anselm R. Garbe <arg@10kloc.org>
Date:   Tue, 22 Aug 2006 16:42:29 +0200

removed DEFTAG
Diffstat:
Mconfig.arg.h | 1-
Mconfig.default.h | 3+--
Mmain.c | 2+-
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/config.arg.h b/config.arg.h
@@ -7,7 +7,6 @@
 const char *tags[] = { "work", "net", "fnord", NULL };
 
 #define DEFMODE            dotile /* dofloat */
-#define DEFTAG            0 /* index */
 #define TFONT            "-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*"
 #define FONT            "-*-snap-*-*-*-*-*-*-*-*-*-*-*-*"
 #define BGCOLOR            "#0d121d"
diff --git a/config.default.h b/config.default.h
@@ -4,10 +4,9 @@
  */
 
 #define TAGS \
-const char *tags[] = { "0", "1", "2", "3", "4", NULL };
+const char *tags[] = { "1", "2", "3", "4", "0", NULL };
 
 #define DEFMODE            dotile /* dofloat */
-#define DEFTAG            1 /* index */
 #define FONT            "fixed"
 #define BGCOLOR            "#666699"
 #define FGCOLOR            "#eeeeee"
diff --git a/main.c b/main.c
@@ -241,7 +241,7 @@ main(int argc, char *argv[])
 
     for(ntags = 0; tags[ntags]; ntags++);
     seltag = emallocz(sizeof(Bool) * ntags);
-    seltag[DEFTAG] = True;
+    seltag[0] = True;
 
     /* style */
     dc.bg = getcolor(BGCOLOR);