dwm-meillo
diff view.c @ 526:c71952fa3c7c
simplified dotile(), removed misleading line
author | Anselm R. Garbe <arg@10kloc.org> |
---|---|
date | Thu, 05 Oct 2006 13:47:30 +0200 |
parents | 1a9a0877650c |
children | c0fffe6c207e |
line diff
1.1 --- a/view.c Thu Oct 05 13:44:48 2006 +0200 1.2 +++ b/view.c Thu Oct 05 13:47:30 2006 +0200 1.3 @@ -103,18 +103,19 @@ 1.4 */ 1.5 void 1.6 dotile(Arg *arg) { 1.7 - int i, n, stackw, stackh, tw, th; 1.8 - unsigned int md = ((stackpos == StackBottom ? sh - bh : sw) * master) / 100; 1.9 + unsigned int i, n, md, stackw, stackh, tw, th; 1.10 Client *c; 1.11 1.12 for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next)) 1.13 n++; 1.14 1.15 if(stackpos == StackBottom) { 1.16 + md = ((sh - bh) * master) / 100; 1.17 stackw = sw; 1.18 stackh = sh - bh - md; 1.19 } 1.20 else { 1.21 + md = (sw * master) / 100; 1.22 stackw = sw - md; 1.23 stackh = sh - bh; 1.24 }