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
Two issues. You don't need to declare spiral in dwm.h, it should
be fine to declare it static in layout.c just before tile().
Second, this layout seems to be broken if you run a lot of
windows, then there is no fallback to prevent 0-pixel window
heights/widths (in tile layout all stacked windows will be
maximized, same if you increase NMASTER to something
insane).
Regards,
-- Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361Received on Tue Jul 24 2007 - 18:40:56 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:46:55 UTC