On Wed, Jul 25, 2007 at 07:42:40PM +0200, pancake wrote:
> You can remove 3 lines from this patch by doing this:
> 
> -       for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next))
> -               n++;
> -
> 
> remove the 'n' variable.
> 
> - if (i < n-1 ) {
> + if (c->next) {

This won't work if 'isvisible(c->next) == False'.

> I'm working to support masterw and nmaster too. But maybe this will be another
> different patch, so spiral is a clean algo and my patch makes the algo ugly.

This shouldn't be very difficult, roughly: Just copy the
tile()-algorithm and replace the stack part with the spiral-algorithm.

Regards,
-- 
Jeroen Schot

[EMAIL PROTECTED] (mail & jabber)
http://schot.a-eskwadraat.nl

Reply via email to