aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2021-01-01 14:58:47 -0700
committerFurkan Sahin <furkan-dev@proton.me>2021-01-01 14:58:47 -0700
commitc1e57ac457f2e4075e9dd8c37d55aa2d85d27bba (patch)
tree019d865bf03732ecaefa4391b59215d980e2ed64
parent7b2aadfdb3ca75a77c45a8cc819e3c1e6819b73b (diff)
cmd_move: update container representation in sibling swaps
-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 =