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 | |
parent | input/seat: Reset command handler context in seat_destroy() (diff) | |
download | sway-d1bf3b8a86102d26c4c352926723db3d5c516a4b.tar.gz sway-d1bf3b8a86102d26c4c352926723db3d5c516a4b.tar.zst sway-d1bf3b8a86102d26c4c352926723db3d5c516a4b.zip |
cmd_move: update container representation in sibling swaps
Diffstat (limited to 'sway')
-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( | |||
120 | int container_index = list_find(siblings, container); | 120 | int container_index = list_find(siblings, container); |
121 | int destination_index = list_find(siblings, destination); | 121 | int destination_index = list_find(siblings, destination); |
122 | list_swap(siblings, container_index, destination_index); | 122 | list_swap(siblings, container_index, destination_index); |
123 | container_update_representation(container); | ||
123 | } else { | 124 | } else { |
124 | sway_log(SWAY_DEBUG, "Promoting to sibling of cousin"); | 125 | sway_log(SWAY_DEBUG, "Promoting to sibling of cousin"); |
125 | int offset = | 126 | int offset = |