hotfixing with sanders hint - dwm - dynamic window manager
 (HTM) git clone https://git.parazyd.org/dwm
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 95d8423823800cdb9e4ed06f407f2d5deefcaf38
 (DIR) parent de6411c3382199eddd5490c987ad7809a137047e
 (HTM) Author: Anselm R. Garbe <arg@10kloc.org>
       Date:   Mon,  4 Sep 2006 17:21:15 +0200
       
       hotfixing with sanders hint
       Diffstat:
         M client.c                            |       4 +++-
       
       1 file changed, 3 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git 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);