diff options
author | Ronan Pigott <rpigott@berkeley.edu> | 2021-01-01 14:58:47 -0700 |
---|---|---|
committer | Tudor Brindus <me@tbrindus.ca> | 2021-01-04 00:31:25 -0500 |
commit | d1bf3b8a86102d26c4c352926723db3d5c516a4b (patch) | |
tree | 019d865bf03732ecaefa4391b59215d980e2ed64 /sway/commands/move.c | |
parent | 9ef5cc03f1e452d2328fb126eb7a25d4f01be1dd (diff) |
cmd_move: update container representation in sibling swaps
Diffstat (limited to 'sway/commands/move.c')
-rw-r--r-- | sway/commands/move.c | 1 |
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 = |