Browse Source

simplified dotile(), removed misleading line

config
Anselm R. Garbe 18 years ago
parent
commit
69408d384d
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      view.c

+ 3
- 2
view.c View File

@ -103,18 +103,19 @@ dofloat(Arg *arg) {
*/
void
dotile(Arg *arg) {
int i, n, stackw, stackh, tw, th;
unsigned int md = ((stackpos == StackBottom ? sh - bh : sw) * master) / 100;
unsigned int i, n, md, stackw, stackh, tw, th;
Client *c;
for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next))
n++;
if(stackpos == StackBottom) {
md = ((sh - bh) * master) / 100;
stackw = sw;
stackh = sh - bh - md;
}
else {
md = (sw * master) / 100;
stackw = sw - md;
stackh = sh - bh;
}


Loading…
Cancel
Save