dwm-meillo

changeset 405:dd44dc937e8b

hotfixing with sanders hint
author Anselm R. Garbe <arg@10kloc.org>
date Mon, 04 Sep 2006 17:21:15 +0200
parents 4439d1168b6c
children cbf5907816cc
files client.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/client.c	Mon Sep 04 17:18:01 2006 +0200
     1.2 +++ b/client.c	Mon Sep 04 17:21:15 2006 +0200
     1.3 @@ -254,8 +254,10 @@
     1.4  	clients = c;
     1.5  
     1.6  	settitle(c);
     1.7 -	if(isvisible(c))
     1.8 +	if(isvisible(c)) {
     1.9 +		focus(NULL);
    1.10  		sel = c;
    1.11 +	}
    1.12  	arrange(NULL);
    1.13  	XMapWindow(dpy, c->win);
    1.14  	XMapWindow(dpy, c->twin);