removed DEFTAG
authorAnselm R. Garbe <arg@10kloc.org>
Tue, 22 Aug 2006 14:42:29 +0000 (16:42 +0200)
committerAnselm R. Garbe <arg@10kloc.org>
Tue, 22 Aug 2006 14:42:29 +0000 (16:42 +0200)
config.arg.h
config.default.h
main.c

index 1cc7cd7431f32b35b6d2ac1152371532bc2c054b..d346856ef52c28e832a64cbd402df150da9c1583 100644 (file)
@@ -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"
index 387b24fa491dbe4e2d23891eeb91a6d97839608f..fd9ada60d8e1c8eecf52886688cfc6e186ad1be2 100644 (file)
@@ -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
index 4aad990606f8e1b8896ff57736bfed709c51cf5f..a51ba887136d54b96deac231526127aa6275efc1 100644 (file)
--- 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);