about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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 @@
 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
index 387b24f..fd9ada6 100644
--- 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
index 4aad990..a51ba88 100644
--- 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);
n153' href='#n153'>153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181