diff options
author | Anselm R. Garbe <arg@10kloc.org> | 2006-09-04 17:39:33 +0200 |
---|---|---|
committer | Anselm R. Garbe <arg@10kloc.org> | 2006-09-04 17:39:33 +0200 |
commit | f15f45a9f80d5dcd1098b8e9aef4fee7bd53aba4 (patch) | |
tree | 6cb691e8668a4aa36a146c1153ccf20ae1ef750f | |
parent | 1b2e149cb407be34be0f2b28b8801dc3224eb5c2 (diff) | |
download | dwm-f15f45a9f80d5dcd1098b8e9aef4fee7bd53aba4.tar.gz |
simplified manage
-rw-r--r-- | client.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -254,15 +254,12 @@ manage(Window w, XWindowAttributes *wa) 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 |