summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-09-04 17:39:33 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-09-04 17:39:33 +0200
commitf15f45a9f80d5dcd1098b8e9aef4fee7bd53aba4 (patch)
tree6cb691e8668a4aa36a146c1153ccf20ae1ef750f
parentremoved html crap (diff)
downloaddwm-f15f45a9f80d5dcd1098b8e9aef4fee7bd53aba4.tar.gz
dwm-f15f45a9f80d5dcd1098b8e9aef4fee7bd53aba4.zip
simplified manage
Diffstat (limited to '')
-rw-r--r--client.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/client.c b/client.c
index 0b5fb2b..4f2a69c 100644
--- a/client.c
+++ b/client.c
@@ -254,15 +254,12 @@ manage(Window w, XWindowAttributes *wa)
254 clients = c; 254 clients = c;
255 255
256 settitle(c); 256 settitle(c);
257 if(isvisible(c)) { 257 ban(c);
258 focus(NULL);
259 sel = c;
260 }
261 arrange(NULL);
262 XMapWindow(dpy, c->win); 258 XMapWindow(dpy, c->win);
263 XMapWindow(dpy, c->twin); 259 XMapWindow(dpy, c->twin);
264 if(isvisible(c)) 260 if(isvisible(c))
265 focus(c); 261 focus(c);
262 arrange(NULL);
266} 263}
267 264
268void 265void