dwm

my fork of dwm
Index Commits Files Refs README LICENSE
commit e316cf53f618dd1dd82828ca5c4e566968473f3a
parent c107db57db9529c699e6aa5fc1c31a37be06f94e
Author: Anselm R. Garbe <arg@10kloc.org>
Date:   Mon,  4 Sep 2006 17:02:13 +0200

fixing the issue that new clients appear lowered
Diffstat:
Mclient.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/client.c b/client.c
@@ -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);