aewl

changeset 403:6413ea66b1c2

fixing the issue that new clients appear lowered
author Anselm R. Garbe <arg@10kloc.org>
date Mon, 04 Sep 2006 17:02:13 +0200
parents c7d5ff57998d
children 4439d1168b6c
files client.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/client.c	Mon Sep 04 12:23:41 2006 +0200
     1.2 +++ b/client.c	Mon Sep 04 17:02:13 2006 +0200
     1.3 @@ -254,6 +254,8 @@
     1.4  	clients = c;
     1.5  
     1.6  	settitle(c);
     1.7 +	if(isvisible(c))
     1.8 +		sel = c;
     1.9  	arrange(NULL);
    1.10  	XMapWindow(dpy, c->win);
    1.11  	XMapWindow(dpy, c->twin);