dwm-meillo

diff client.c @ 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 052657ff2e7b
children dd44dc937e8b
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);