1
1
mirror of https://github.com/swaywm/sway synced 2024-11-23 17:32:40 +01:00
sway/include
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
..
sway introduce workspace_squash 2020-12-20 00:58:42 -05:00
swaybar Fix swaybar tray for non-systemd 2020-12-16 21:19:20 +01:00
swaynag
background-image.h
cairo.h
ipc-client.h
ipc.h
list.h
log.h
loop.h
meson.build
pango.h
pool-buffer.h
stringop.h common: make 'lenient_strcmp' arguments const 2020-12-04 10:49:49 +01:00
util.h