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);
2023-08-06 20:26:21 +0800 committer GitHub <noreply@github.com> 2023-08-06 14:26:21 +0200 use strictdefs for compiler (#22365)' href='/ahoang/Nim/commit/compiler/sourcemap.nim?h=devel&id=93ced31353813c2f19c38a8c0af44737fa8d9f86'>93ced3135 ^
1fefb8e92 ^













93ced3135 ^
1fefb8e92 ^







93ced3135 ^


1fefb8e92 ^















920add588 ^
1fefb8e92 ^










89a60939f ^
1fefb8e92 ^






































920add588 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209