On Mon, Sep 26, 2011 at 3:29 PM, Connor Lane Smith <c...@lubutu.com> wrote:
> Hey,
>
> On 26 September 2011 21:43, Nick <suckless-...@njw.me.uk> wrote:
>> Just wondering what people think about the idea of merging the
>> bstack layout patch to the plain vanilla dwm? It's pretty
>> non-intrusive, and a very useful layout for small screens (where the
>> regular tiled layout results in excess line wrapping).
>
> How about using an 'ntile' layout instead? Attached is patch similar
> nmaster [1], but a bit simpler (+1 LOC). It replaces tile; I don't
> know.
>
> [1]: http://dwm.suckless.org/patches/nmaster
>
> Thanks,
> cls
>

Connor, in your patch the variable nmaster is initialized to 0, which
causes a crash (division by zero) if the incnmaster function is not
called before launching a window.

Reply via email to