author | Anselm R. Garbe <arg@10kloc.org> |
Mon, 04 Sep 2006 17:39:33 +0200 | |
changeset 408 | a031bbee1816 |
parent 407 | 1a99afa20d86 |
child 409 | f5f5cbf016a9 |
--- a/client.c Mon Sep 04 17:37:31 2006 +0200 +++ b/client.c Mon Sep 04 17:39:33 2006 +0200 @@ -254,15 +254,12 @@ clients = c; settitle(c); - if(isvisible(c)) { - focus(NULL); - sel = c; - } - arrange(NULL); + ban(c); XMapWindow(dpy, c->win); XMapWindow(dpy, c->twin); if(isvisible(c)) focus(c); + arrange(NULL); } void