removed all dotile checks cff951c6
arg@mmvi · 2006-09-22 18:48 2 file(s) · +4 −4
draw.c +1 −1
104 104
	}
105 105
106 106
	dc.w = bmw;
107 -
	drawtext(arrange == dotile ? TILESYMBOL : FLOATSYMBOL, dc.status, False);
107 +
	drawtext(arrange == dofloat ? FLOATSYMBOL : TILESYMBOL, dc.status, False);
108 108
109 109
	x = dc.x + dc.w;
110 110
	dc.w = textw(stext);
view.c +3 −3
50 50
		c->rx = c->x; c->x = sx;
51 51
		c->ry = c->y; c->y = bh;
52 52
		c->rw = c->w; c->w = sw;
53 -
		c->rh = c->h; c->h = sh - bh;
53 +
		c->rh = c->h; c->h = sh - bh - 2;
54 54
	}
55 55
	else {
56 56
		c->x = c->rx;
208 208
	for(n = 0, c = clients; c; c = c->next)
209 209
		if(isvisible(c) && !c->isfloat)
210 210
			n++;
211 -
	if(!sel || sel->isfloat || n < 2 || (arrange != dotile))
211 +
	if(!sel || sel->isfloat || n < 2 || (arrange == dofloat))
212 212
		return;
213 213
214 214
	if(sel == getnext(clients)) {
305 305
	for(n = 0, c = clients; c; c = c->next)
306 306
		if(isvisible(c) && !c->isfloat)
307 307
			n++;
308 -
	if(n < 2 || (arrange != dotile))
308 +
	if(n < 2 || (arrange == dofloat))
309 309
		return;
310 310
311 311
	if((c = sel) == nexttiled(clients))