On 7/20/08, pancake <[EMAIL PROTECTED]> wrote:
>         if (n)
>         for(i = 0, c = nexttiled(clients); c; c = nexttiled(c->next),i++)
>                 resize(c, 0, (showbar?bh:0) + ((wh/n)*i), ww-(c->bw<<1),
> (wh/n)-(c->bw<<1),0);

instead of showbar?: use wy

bw<<1 is an overkill optimization after you caluculating the same
division (wh/n) n times and any compiler would know how to optimize
2*bw, of course this doesn't matter much just aestetics

on a vertical monitor i usually like one horizontal split + vertical
spliting in the bottom stack area (as in bottom stack patch), but this
makes sense too, so it can be added to /dwm/patches

Reply via email to