about summary refs log tree commit diff stats
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
parent6a3ae5e26a5cebfd35f2423aec0c47843b5a85be (diff)
downloaddwm-595028614bc94c1733b28725dcf9777b0a47ad24.tar.gz
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 @@
 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);
n203' href='#n203'>203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327