[xmonad] Grid layout eats other layouts

Yitzchak Gale gale at sefer.org
Sun Apr 27 11:54:03 EDT 2008


I wrote:
>> I want to add Grid to the default list of layouts.
>> When I do:
>> ,layoutHook = avoidStruts $ layoutHook defaultConfig ||| Grid
>> I only get Tall and Grid. The last two layouts from
>> defaultConfig - Mirror Tall and Full - disappear,
>> seemingly "eaten" by Grid...
>> Any ideas why?

Roman Cheplyaka <roma at ro-che.info> wrote:
>  It's because code which works with Choose data type expects the tree to
>  grow to the left. If you write
>  ,layoutHook = avoidStruts $ Grid ||| layoutHook defaultConfig
>  it will work.

But that would put Grid as the first layout instead of the
last. That is not what I want.

> This is undocumented (afaik) and should be considered as a
>  bug.
>  By the way, NewSelect combinator from LayoutCombinators does not have
>  this issue, so one more reason to merge it to the core.

Thanks,
Yitz


More information about the xmonad mailing list