dwm-meillo

diff view.c @ 486:8d564b9e3cd4

removed all dotile checks
author arg@mmvi
date Fri, 22 Sep 2006 18:48:35 +0200
parents 759c9d9a959d
children be4f90c03582
line diff
     1.1 --- a/view.c	Fri Sep 22 16:35:49 2006 +0200
     1.2 +++ b/view.c	Fri Sep 22 18:48:35 2006 +0200
     1.3 @@ -50,7 +50,7 @@
     1.4  		c->rx = c->x; c->x = sx;
     1.5  		c->ry = c->y; c->y = bh;
     1.6  		c->rw = c->w; c->w = sw;
     1.7 -		c->rh = c->h; c->h = sh - bh;
     1.8 +		c->rh = c->h; c->h = sh - bh - 2;
     1.9  	}
    1.10  	else {
    1.11  		c->x = c->rx;
    1.12 @@ -208,7 +208,7 @@
    1.13  	for(n = 0, c = clients; c; c = c->next)
    1.14  		if(isvisible(c) && !c->isfloat)
    1.15  			n++;
    1.16 -	if(!sel || sel->isfloat || n < 2 || (arrange != dotile))
    1.17 +	if(!sel || sel->isfloat || n < 2 || (arrange == dofloat))
    1.18  		return;
    1.19  
    1.20  	if(sel == getnext(clients)) {
    1.21 @@ -305,7 +305,7 @@
    1.22  	for(n = 0, c = clients; c; c = c->next)
    1.23  		if(isvisible(c) && !c->isfloat)
    1.24  			n++;
    1.25 -	if(n < 2 || (arrange != dotile))
    1.26 +	if(n < 2 || (arrange == dofloat))
    1.27  		return;
    1.28  
    1.29  	if((c = sel) == nexttiled(clients))