[xmonad] [xmonad-contrib] [PATCH] Improved BinarySpacePartition

adam vogt vogt.adam at gmail.com
Sat Mar 14 23:43:58 UTC 2015


Hi Anton,

Would you be able to address the warnings ghc -Wall spits out
http://lpaste.net/8937793665569390592 ?

For example you have an incomplete pattern for:

handleResize :: BinarySpacePartition Window -> WindowArrangerMsg -> X
(Maybe (BinarySpacePartition Window))

It would be better to write

handleResize :: BinarySpacePartition Window -> Rectangle -> X (Maybe
(BinarySpacePartition Window))
handleResize b (newRect @ Rectangle x y w h) = ...

Thanks,
Adam

On Thu, Mar 12, 2015 at 11:11 AM, Anton Pirogov <anton.pirogov at gmail.com>
wrote:

> Hi everyone,
>
> here is a patch adding following changes to the BSP layout:
>
> Actions like Swap also affect the windows associated with the leaves,
> leading to much more intuitive behaviour
>
> Mouse support: through SetGeometry (e.g. MouseResize / BorderResize)
>
> FocusParent action (like in i3): Without this sometimes it is simply
> impossible to swap the elements one wants (e.g. when having 2 windows on
> the left and 2 on the right, each in a split and wanting to swap these two
> window pairs) and in other cases this is more convenient than having to
> first focus something else to get the desired effect. With it the user can
> apply actions not only to leafs but also to nodes, thereby being able to
> manipulate splits that only contain other splits and no leafs (windows)
>
> Equalize and Balance action: Equalize adjusts the ratios so that each
> window occupies the same space, Balance retiles the layout if it gets too
> complicated
>
> Since my last mail (which received no reactions) I removed a lot of stuff
> that was indeed possible with other layout modifiers. This patch contains
> strictly new features and improvements to the layout.
>
> Best regards,
> Anton
>
> _______________________________________________
> xmonad mailing list
> xmonad at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/xmonad/attachments/20150314/64e3faa2/attachment.html>


More information about the xmonad mailing list