contrib darcs patch: BinarySpacePartition update

Hi, this patch makes the actions in BSP layout more consistent and usable, making Equalize and Balance work locally and also allowing to open new windows at arbitrary positions: Equalize/Balance now only rearrange the currently focused node instead of the whole layout (e.g. you want to keep some windows like they are but only want to rearrange a deeply nested branch). New windows now are inserted into the currently selected node, so e.g focussing the root (everything) and opening the window will make the new window take half of the screen (not possible or very cumbersome before). Also a new feature is added - now it is possible to select a window or group of windows (first FocusParent, then SelectNode) and "cut&paste" the selected window(s) into some other location in the layout (again, FocusParent to the destination, then MoveNode). This will split the node focused and put the selected window(s) there. The reason for this was that more elaborate rearrangements that I sometimes wished for were simply not possible just with regular window swapping. Best regards, Anton

Hi Anton --
Thanks for the patch. It looks like it builds, and without knowing anything
about BSP the changes sound positive to me.
Nevertheless, can you comment briefly on backwards-compatibility? How
likely is it that there are people out there that use BSP and like the
current behavior, and will find xmonad behaving differently as a result of
this patch?
Can we support the old behavior and make the new behavior "opt-in" by folks
that want it?
~d
On Thu, May 7, 2015 at 2:31 AM, Anton Pirogov
Hi,
this patch makes the actions in BSP layout more consistent and usable, making Equalize and Balance work locally and also allowing to open new windows at arbitrary positions:
Equalize/Balance now only rearrange the currently focused node instead of the whole layout (e.g. you want to keep some windows like they are but only want to rearrange a deeply nested branch).
New windows now are inserted into the currently selected node, so e.g focussing the root (everything) and opening the window will make the new window take half of the screen (not possible or very cumbersome before).
Also a new feature is added - now it is possible to select a window or group of windows (first FocusParent, then SelectNode) and "cut&paste" the selected window(s) into some other location in the layout (again, FocusParent to the destination, then MoveNode). This will split the node focused and put the selected window(s) there.
The reason for this was that more elaborate rearrangements that I sometimes wished for were simply not possible just with regular window swapping.
Best regards, Anton
_______________________________________________ xmonad mailing list xmonad@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad

I was just going to apply this patch but for the record, it looks like it
has already been applied.
-Brent
On Thu, May 7, 2015 at 5:31 AM Anton Pirogov
Hi,
this patch makes the actions in BSP layout more consistent and usable, making Equalize and Balance work locally and also allowing to open new windows at arbitrary positions:
Equalize/Balance now only rearrange the currently focused node instead of the whole layout (e.g. you want to keep some windows like they are but only want to rearrange a deeply nested branch).
New windows now are inserted into the currently selected node, so e.g focussing the root (everything) and opening the window will make the new window take half of the screen (not possible or very cumbersome before).
Also a new feature is added - now it is possible to select a window or group of windows (first FocusParent, then SelectNode) and "cut&paste" the selected window(s) into some other location in the layout (again, FocusParent to the destination, then MoveNode). This will split the node focused and put the selected window(s) there.
The reason for this was that more elaborate rearrangements that I sometimes wished for were simply not possible just with regular window swapping.
Best regards, Anton _______________________________________________ xmonad mailing list xmonad@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad

Yes, I applied it and sent a message to the list, but it seems
mail.haskell.org is having some trouble -- it (not mailman) rejected my
message, and according to infrastructure@, several others are having the
same problem.
~d
On Thu, May 28, 2015 at 2:39 PM, Brent Yorgey
I was just going to apply this patch but for the record, it looks like it has already been applied.
-Brent
On Thu, May 7, 2015 at 5:31 AM Anton Pirogov
wrote: Hi,
this patch makes the actions in BSP layout more consistent and usable, making Equalize and Balance work locally and also allowing to open new windows at arbitrary positions:
Equalize/Balance now only rearrange the currently focused node instead of the whole layout (e.g. you want to keep some windows like they are but only want to rearrange a deeply nested branch).
New windows now are inserted into the currently selected node, so e.g focussing the root (everything) and opening the window will make the new window take half of the screen (not possible or very cumbersome before).
Also a new feature is added - now it is possible to select a window or group of windows (first FocusParent, then SelectNode) and "cut&paste" the selected window(s) into some other location in the layout (again, FocusParent to the destination, then MoveNode). This will split the node focused and put the selected window(s) there.
The reason for this was that more elaborate rearrangements that I sometimes wished for were simply not possible just with regular window swapping.
Best regards, Anton _______________________________________________ xmonad mailing list xmonad@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
_______________________________________________ xmonad mailing list xmonad@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
participants (3)
-
Anton Pirogov
-
Brent Yorgey
-
Daniel Wagner