diff options
author | Anselm R. Garbe <arg@10kloc.org> | 2006-09-04 17:02:13 +0200 |
---|---|---|
committer | Anselm R. Garbe <arg@10kloc.org> | 2006-09-04 17:02:13 +0200 |
commit | e316cf53f618dd1dd82828ca5c4e566968473f3a (patch) | |
tree | 5af5f99d7773f199da906d0cf38d9efee57e021e | |
parent | c107db57db9529c699e6aa5fc1c31a37be06f94e (diff) | |
download | dwm-e316cf53f618dd1dd82828ca5c4e566968473f3a.tar dwm-e316cf53f618dd1dd82828ca5c4e566968473f3a.tar.gz dwm-e316cf53f618dd1dd82828ca5c4e566968473f3a.tar.bz2 |
fixing the issue that new clients appear lowered
-rw-r--r-- | client.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -254,6 +254,8 @@ manage(Window w, XWindowAttributes *wa) clients = c; settitle(c); + if(isvisible(c)) + sel = c; arrange(NULL); XMapWindow(dpy, c->win); XMapWindow(dpy, c->twin); |