sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 320703fdca727adcecb5d6c6f3490ca2dad683fd
parent 3c77f066a532efd3df0f2072d02fa4353b4a4511
Author: Ryan Dwyer <ryandwyer1@gmail.com>
Date:   Fri, 25 May 2018 16:42:55 +1000

Arrange views after flattening the parent

Fixes #2029.

Diffstat:
Msway/tree/layout.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sway/tree/layout.c b/sway/tree/layout.c @@ -327,9 +327,11 @@ void container_move(struct sway_container *container, current = container_parent(container, C_OUTPUT); } - if (parent != container_flatten(parent)) { + struct sway_container *new_parent = container_flatten(parent); + if (new_parent != parent) { // Special case: we were the last one in this container, so flatten it // and leave + arrange_children_of(new_parent); update_debug_tree(); return; }