commit d1bf3b8a86102d26c4c352926723db3d5c516a4b
parent 9ef5cc03f1e452d2328fb126eb7a25d4f01be1dd
Author: Ronan Pigott <rpigott@berkeley.edu>
Date: Fri, 1 Jan 2021 14:58:47 -0700
cmd_move: update container representation in sibling swaps
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/sway/commands/move.c b/sway/commands/move.c
@@ -120,6 +120,7 @@ static void container_move_to_container_from_direction(
int container_index = list_find(siblings, container);
int destination_index = list_find(siblings, destination);
list_swap(siblings, container_index, destination_index);
+ container_update_representation(container);
} else {
sway_log(SWAY_DEBUG, "Promoting to sibling of cousin");
int offset =