mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 09:21:28 +00:00
cmd_move: update container representation in sibling swaps
This commit is contained in:
parent
9ef5cc03f1
commit
d1bf3b8a86
|
@ -120,6 +120,7 @@ static void container_move_to_container_from_direction(
|
||||||
int container_index = list_find(siblings, container);
|
int container_index = list_find(siblings, container);
|
||||||
int destination_index = list_find(siblings, destination);
|
int destination_index = list_find(siblings, destination);
|
||||||
list_swap(siblings, container_index, destination_index);
|
list_swap(siblings, container_index, destination_index);
|
||||||
|
container_update_representation(container);
|
||||||
} else {
|
} else {
|
||||||
sway_log(SWAY_DEBUG, "Promoting to sibling of cousin");
|
sway_log(SWAY_DEBUG, "Promoting to sibling of cousin");
|
||||||
int offset =
|
int offset =
|
||||||
|
|
Loading…
Reference in a new issue