aewl

changeset 486:8d564b9e3cd4

removed all dotile checks
author arg@mmvi
date Fri, 22 Sep 2006 18:48:35 +0200
parents 759c9d9a959d
children be4f90c03582
files draw.c view.c
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line diff
     1.1 --- a/draw.c	Fri Sep 22 16:35:49 2006 +0200
     1.2 +++ b/draw.c	Fri Sep 22 18:48:35 2006 +0200
     1.3 @@ -104,7 +104,7 @@
     1.4  	}
     1.5  
     1.6  	dc.w = bmw;
     1.7 -	drawtext(arrange == dotile ? TILESYMBOL : FLOATSYMBOL, dc.status, False);
     1.8 +	drawtext(arrange == dofloat ? FLOATSYMBOL : TILESYMBOL, dc.status, False);
     1.9  
    1.10  	x = dc.x + dc.w;
    1.11  	dc.w = textw(stext);
     2.1 --- a/view.c	Fri Sep 22 16:35:49 2006 +0200
     2.2 +++ b/view.c	Fri Sep 22 18:48:35 2006 +0200
     2.3 @@ -50,7 +50,7 @@
     2.4  		c->rx = c->x; c->x = sx;
     2.5  		c->ry = c->y; c->y = bh;
     2.6  		c->rw = c->w; c->w = sw;
     2.7 -		c->rh = c->h; c->h = sh - bh;
     2.8 +		c->rh = c->h; c->h = sh - bh - 2;
     2.9  	}
    2.10  	else {
    2.11  		c->x = c->rx;
    2.12 @@ -208,7 +208,7 @@
    2.13  	for(n = 0, c = clients; c; c = c->next)
    2.14  		if(isvisible(c) && !c->isfloat)
    2.15  			n++;
    2.16 -	if(!sel || sel->isfloat || n < 2 || (arrange != dotile))
    2.17 +	if(!sel || sel->isfloat || n < 2 || (arrange == dofloat))
    2.18  		return;
    2.19  
    2.20  	if(sel == getnext(clients)) {
    2.21 @@ -305,7 +305,7 @@
    2.22  	for(n = 0, c = clients; c; c = c->next)
    2.23  		if(isvisible(c) && !c->isfloat)
    2.24  			n++;
    2.25 -	if(n < 2 || (arrange != dotile))
    2.26 +	if(n < 2 || (arrange == dofloat))
    2.27  		return;
    2.28  
    2.29  	if((c = sel) == nexttiled(clients))