On Tue, Nov 04, 2008 at 10:13:21AM -0700, Neale Pickett wrote:
> This simple modification to setlayout causes a binding to toggle if it's
> already in the requested layout.
> 
> void
> setlayout(const Arg *arg)
> {
>   sellt ^= 1;
>   if(arg && arg->v && (arg->v != lt[sellt]))
>     lt[sellt] = (Layout *)arg->v;
>   if(sel)
>     arrange();
>   else
>     drawbar();
> }
> 
> Now Alt-M toggles in and out of Monocle, etc.  I far prefer this
> behavior, YMMV.

Would love to have this, but this patch doesn't work for me.
-RPM


Reply via email to