swayfx/sway
Ronan Pigott 8eb0c54693 introduce workspace_squash
workspace_squash is container_flatten in the reverse
direction. Instead of eliminating redundant splits that are
parents of the target container, it eliminates pairs of
redundant H/V splits that are children of the workspace.

Splits are redundant if a con and its grandchild have the
same layout, and the immediate child has the opposite split.

For example, layouts are transformed like:

    H[V[H[app1 app2]] app3] -> H[app1 app2 app3]

i3 uses this operation to simplify the tree after moving
heavily nested containers to a higher level in the tree via
an orthogonal move.
2020-12-20 00:58:42 -05:00
..
commands commands/move: rework container_move_in_direction 2020-12-20 00:58:42 -05:00
config hide_cursor: Add an option to hide when typing 2020-10-30 09:59:54 +01:00
desktop Change workspace_layout to match i3 behavior 2020-12-20 00:58:42 -05:00
input Change workspace_layout to match i3 behavior 2020-12-20 00:58:42 -05:00
tree introduce workspace_squash 2020-12-20 00:58:42 -05:00
commands.c commands: disallow runtime include 2020-07-27 10:54:04 +02:00
config.c Reload command now matches i3's implementation 2020-07-07 17:15:57 -04:00
criteria.c criteria: fix crash when comparing NULL properties 2020-12-04 10:49:49 +01:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c Add support for workspace_min_width bar option. 2020-10-11 19:12:42 +02:00
ipc-server.c Fix incorrect format specifiers 2020-07-30 22:02:42 -04:00
main.c Route wlroots logs into Sway logging infrastructure 2020-12-09 23:57:12 -05:00
meson.build input/tablet: add tool_mode option to set tablet tools as relative input 2020-10-12 15:01:37 +02:00
server.c Handle secondary headless backend failures 2020-12-08 16:15:48 +01:00
sway-bar.5.scd Add support for workspace_min_width bar option. 2020-10-11 19:12:42 +02:00
sway-input.5.scd hide_cursor: Add an option to hide when typing 2020-10-30 09:59:54 +01:00
sway-ipc.7.scd document parse_error 2020-11-21 11:42:29 +01:00
sway-output.5.scd Simplify repaint scheduling documentation 2020-05-11 10:36:33 +02:00
sway.1.scd add dots to man 2020-04-14 10:10:35 +02:00
sway.5.scd Change workspace_layout to match i3 behavior 2020-12-20 00:58:42 -05:00
swaynag.c Rename symbol set_cloexec to sway_set_cloexec, remove duplicates. 2019-11-01 12:41:08 -04:00
xdg_decoration.c Fix xdg-decoration unconfigured if set before first commit 2019-05-03 15:37:32 -06:00