diff options
author | Anselm R. Garbe <arg@10kloc.org> | 2006-09-04 17:21:15 +0200 |
---|---|---|
committer | Anselm R. Garbe <arg@10kloc.org> | 2006-09-04 17:21:15 +0200 |
commit | 95d8423823800cdb9e4ed06f407f2d5deefcaf38 (patch) | |
tree | d872280d80975dcfb14c531b9083676dbe7699b9 | |
parent | de6411c3382199eddd5490c987ad7809a137047e (diff) | |
download | dwm-95d8423823800cdb9e4ed06f407f2d5deefcaf38.tar.gz |
hotfixing with sanders hint
-rw-r--r-- | client.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client.c b/client.c index 81f4280..0b5fb2b 100644 --- a/client.c +++ b/client.c @@ -254,8 +254,10 @@ manage(Window w, XWindowAttributes *wa) clients = c; settitle(c); - if(isvisible(c)) + if(isvisible(c)) { + focus(NULL); sel = c; + } arrange(NULL); XMapWindow(dpy, c->win); XMapWindow(dpy, c->twin); |