Re: [dev] Re: [dwm] A general approach to master-slave layouts

From: Thomas Dahms <thmsdhms_AT_googlemail.com>
Date: Mon, 31 Oct 2011 15:19:36 +0100

2011/10/31 lolilolicon <lolilolicon_AT_gmail.com>:
> On Mon, Oct 31, 2011 at 9:49 PM, lolilolicon <lolilolicon_AT_gmail.com> wrote:
>>
>> The code is in the attachment.
>>
>
> *huge facepalm*
>
> Forgot to attach the fixed code.  Attached here.
>

That looks interesting. I have one suggestion for a simplification:
I guess you can get rid of the functions combining the master and
slave layouts by modifying setlayout() to take three arguments (the
two layouts and the direction of master/slave splitting). This way you
could combine any two layouts in the key binding section of config.h.

-- 
Thomas Dahms
Received on Mon Oct 31 2011 - 15:19:36 CET

This archive was generated by hypermail 2.3.0 : Mon Oct 31 2011 - 15:24:04 CET