aewl

diff client.c @ 408:a031bbee1816

simplified manage
author Anselm R. Garbe <arg@10kloc.org>
date Mon, 04 Sep 2006 17:39:33 +0200
parents dd44dc937e8b
children a31de8605f72
line diff
     1.1 --- a/client.c	Mon Sep 04 17:37:31 2006 +0200
     1.2 +++ b/client.c	Mon Sep 04 17:39:33 2006 +0200
     1.3 @@ -254,15 +254,12 @@
     1.4  	clients = c;
     1.5  
     1.6  	settitle(c);
     1.7 -	if(isvisible(c)) {
     1.8 -		focus(NULL);
     1.9 -		sel = c;
    1.10 -	}
    1.11 -	arrange(NULL);
    1.12 +	ban(c);
    1.13  	XMapWindow(dpy, c->win);
    1.14  	XMapWindow(dpy, c->twin);
    1.15  	if(isvisible(c))
    1.16  		focus(c);
    1.17 +	arrange(NULL);
    1.18  }
    1.19  
    1.20  void