about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-01-15 12:07:18 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-01-15 12:07:18 +0100
commit72faa1919e34ffeebb1ca35ae8c2c24b700dcf66 (patch)
treeb528a119814f3ee600e5e53ee8615961d35fe914
parentf8181f64e2ba4fca4e85036c48cf90a2151794fc (diff)
downloaddwm-72faa1919e34ffeebb1ca35ae8c2c24b700dcf66.tar.gz
changed restack, to fix undrawed tag indicators
-rw-r--r--view.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/view.c b/view.c
index bc1f4e2..fd07fc5 100644
--- a/view.c
+++ b/view.c
@@ -185,10 +185,9 @@ restack(void) {
 	Client *c;
 	XEvent ev;
 
-	if(!sel) {
-		drawstatus();
+	drawstatus();
+	if(!sel)
 		return;
-	}
 	if(sel->isfloat || arrange == dofloat)
 		XRaiseWindow(dpy, sel->win);
 	if(arrange != dofloat) {
id='n133' href='#n133'>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 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227