[Xmonad] another idea for configurable layouts.

David Roundy droundy at darcs.net
Mon Apr 16 13:04:14 EDT 2007


On Mon, Apr 16, 2007 at 07:45:56AM -0700, David Roundy wrote:
> data NewLayout = L { doLayout :: Rectangle -> [Window] -> [(Window, Rectangle)]
>                    , modifyLayout :: Event -> Maybe NewLayout }

Incidentally, I forgot to mention that the Maybe in modifyLayout was
intended so that we could avoid calling refresh when the layout isn't
changed.
-- 
David Roundy
Department of Physics
Oregon State University


More information about the Xmonad mailing list