From d1bf3b8a86102d26c4c352926723db3d5c516a4b Mon Sep 17 00:00:00 2001 From: Ronan Pigott Date: Fri, 1 Jan 2021 14:58:47 -0700 Subject: [PATCH] cmd_move: update container representation in sibling swaps --- sway/commands/move.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sway/commands/move.c b/sway/commands/move.c index 7a7e858e..f8f89f18 100644 --- 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 =