aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-rw-r--r--sway/commands/move.c1
1 files changed, 1 insertions, 0 deletions
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 =