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) {
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.
--pancake
On Wed, 25 Jul 2007 09:16:20 -0400
"Jeremy O'Brien" <obrien654j_AT_gmail.com> wrote:
> On Wednesday 25 July 2007 08:39:59 pancake wrote:
> > I've tested the patch and looks nice. but would be cool if it were possible
> > to support the changes "number of clients in master area" and the "size of
> > the master area". It's something that I really miss :) But the idea looks
> > cool
> >
> > --pancake
> >
> > On Tue, Jul 24, 2007 at 04:13:08PM +0200, Jeroen Schot wrote:
> > > Hi,
> > >
> > > I stumbled upon the list of Xmonad extensions[1] and saw a spiral tiling
> > > layout there. Attached is the resulting patch that implements something
> > > similar for dwm.
> > >
> > > A quick ascii-art representation:
> > >
> > > +-----------+-----------+
> > >
> > > | +--+--+-----+
> > > |
> > > | | |-+| |
> > > |
> > > | +--+--+ |
> > >
> > > +-----------+-----+-----+
> > >
> > > [1]: http://www.xmonad.org/contrib.html
> > >
> > > Regards,
> > > --
> > > Jeroen Schot
> > >
> > > schot_AT_a-eskwadraat.nl (mail & jabber)
> > > http://schot.a-eskwadraat.nl
>
> Now if you did that then the golden ratio would be messed up ;)
>
> --
>
> __neutral__insomniac__
>
--pancake
Received on Wed Jul 25 2007 - 19:42:44 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:46:59 UTC