dwm-meillo

diff view.c @ 661:4b8096176bbe

prevent pop() if first sel == nexttiled(clients)
author Anselm R. Garbe <arg@suckless.org>
date Fri, 05 Jan 2007 21:56:57 +0100
parents 4c6d27f03773
children 3e0f11a44293
line diff
     1.1 --- a/view.c	Fri Jan 05 21:55:43 2007 +0100
     1.2 +++ b/view.c	Fri Jan 05 21:56:57 2007 +0100
     1.3 @@ -261,7 +261,7 @@
     1.4  		n++;
     1.5  
     1.6  	c = sel;
     1.7 -	if(arrange != dofloat) {
     1.8 +	if((arrange != dofloat) && c != nexttiled(clients)) {
     1.9  		detach(c);
    1.10  		if(clients)
    1.11  			clients->prev = c;