[xmonad] darcs patch: Add Layout.FloatLayout the start of a
floating layout
Andrea Rossato
mailing_list at istitutocolli.org
Thu Jan 17 13:12:50 EST 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 16379 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080117/7c4d1b07/attachment-0001.bin
More information about the xmonad
mailing list