summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-09-04 17:02:13 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-09-04 17:02:13 +0200
commite316cf53f618dd1dd82828ca5c4e566968473f3a (patch)
tree5af5f99d7773f199da906d0cf38d9efee57e021e
parentremoved unused vars (diff)
downloaddwm-e316cf53f618dd1dd82828ca5c4e566968473f3a.tar.gz
dwm-e316cf53f618dd1dd82828ca5c4e566968473f3a.zip
fixing the issue that new clients appear lowered
Diffstat (limited to '')
-rw-r--r--client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client.c b/client.c
index 8a8a99e..81f4280 100644
--- a/client.c
+++ b/client.c
@@ -254,6 +254,8 @@ manage(Window w, XWindowAttributes *wa)
254 clients = c; 254 clients = c;
255 255
256 settitle(c); 256 settitle(c);
257 if(isvisible(c))
258 sel = c;
257 arrange(NULL); 259 arrange(NULL);
258 XMapWindow(dpy, c->win); 260 XMapWindow(dpy, c->win);
259 XMapWindow(dpy, c->twin); 261 XMapWindow(dpy, c->twin);