dwm-meillo

diff client.c @ 381:b00cc483d13b

still something wrong with reorder()
author Anselm R. Garbe <arg@10kloc.org>
date Tue, 29 Aug 2006 13:40:09 +0200
parents 83576f5f0a90
children 052657ff2e7b
line diff
     1.1 --- a/client.c	Tue Aug 29 09:57:57 2006 +0200
     1.2 +++ b/client.c	Tue Aug 29 13:40:09 2006 +0200
     1.3 @@ -241,7 +241,10 @@
     1.4  			|| (c->maxw && c->minw &&
     1.5  				c->maxw == c->minw && c->maxh == c->minh);
     1.6  
     1.7 -	attach(c);
     1.8 +	if(clients)
     1.9 +		clients->prev = c;
    1.10 +	c->next = clients;
    1.11 +	clients = c;
    1.12  
    1.13  	settitle(c);
    1.14  	if(isvisible(c))