[xmonad] darcs patch: Add Layout.FloatLayout the start of a floating layout

Brent Yorgey byorgey at gmail.com
Thu Jan 17 13:27:49 EST 2008


On Jan 17, 2008 1:12 PM, Andrea Rossato <mailing_list at istitutocolli.org>
wrote:

> Hi,
>
> this is the start of a floating layout, something like the floating
> layout in ion3.
>
> It is just a start, meaning that there are no decoration or fancy
> stuff. But you can move and resize windows with the keyboard (see
> $usage for setting up the needed key bindings).
>
> Now, the main job of a floating layout is to decide where to place the
> newly created windows. This new module *doesn't* address this problem.
> Indeed, I implemented it as a layout modifier. I though that this way
> it should be possible to use alternate floating layouts. In this
> scenario this module would just be the layer for interacting with the
> windows.
>
> Right now layouts do not work well with this module. They usually
> place the new windows always in the same place, and move the
> previously created windows accordingly. Instead we would need layouts
> that do not touch old windows, but place the *new* one somewhere.
> Probably I'll try to come up with something in the next days.
>
> Anyway, I would like to have some feedback before pushing this patch.
> I'm not really interested in having this patch included in the xmc
> tree, so if you think there should be better ways to achieve this
> goal, please let me know... we can throw this code away a start with a
> new, more promising approach.
>
> Cheers,
> Andrea
>
> Thu Jan 17 18:51:51 CET 2008  Andrea Rossato <andrea.rossato at unibz.it>
>  * Add Layout.FloatLayout the start of a floating layout
>

I haven't looked at this patch yet, but seeing how floating support is
probably going to change dramatically in the near future (so says sjanssen),
it might be advisable to wait for that to happen before tackling a floating
layout.  Such a module is probably just going to have to be completely
rewritten soon anyway.

-Brent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/xmonad/attachments/20080117/b51cf12c/attachment.htm


More information about the xmonad mailing list