diff options
author | Tudor Brindus <me@tbrindus.ca> | 2020-10-24 02:00:46 -0400 |
---|---|---|
committer | Tudor Brindus <me@tbrindus.ca> | 2020-12-20 00:58:42 -0500 |
commit | 971aa90ccca33084238cf6025e51fe3205c714b5 (patch) | |
tree | 663cff9b1faf16402b2399c0ebddb67e273cb2a9 /sway/tree | |
parent | d54c8e885b8bfc6b9922c575d77a5fbe2ac8a60a (diff) |
commands/move: don't flatten on move; reap empty former parent instead
Some comparisons of current Sway versus i3 behavior:
1) T[T[T[app]]] + move left
* Sway: T[app]
* i3: T[T[app]]
2) H[V[H[V[app]]]] + move left
* Sway: H[app]
* i3: H[V[app]]
After this commit, Sway behavior matches i3. The intermediate states
are now:
T[T[T[app]]] -> T[T[app T[]]] -> T[T[app]]
H[V[H[V[app]]]] -> H[V[app H[V[]]]] -> H[V[app]]
Diffstat (limited to 'sway/tree')
0 files changed, 0 insertions, 0 deletions