diff options
Diffstat (limited to 'sway/commands/move.c')
-rw-r--r-- | sway/commands/move.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/commands/move.c b/sway/commands/move.c index 7b503624..59f1cf78 100644 --- a/sway/commands/move.c +++ b/sway/commands/move.c | |||
@@ -117,7 +117,8 @@ static void container_move_to_container_from_direction( | |||
117 | struct sway_container *container, struct sway_container *destination, | 117 | struct sway_container *container, struct sway_container *destination, |
118 | enum movement_direction move_dir) { | 118 | enum movement_direction move_dir) { |
119 | if (destination->view) { | 119 | if (destination->view) { |
120 | if (destination->parent == container->parent) { | 120 | if (destination->parent == container->parent && |
121 | destination->workspace == container->workspace) { | ||
121 | wlr_log(WLR_DEBUG, "Swapping siblings"); | 122 | wlr_log(WLR_DEBUG, "Swapping siblings"); |
122 | list_t *siblings = container_get_siblings(container); | 123 | list_t *siblings = container_get_siblings(container); |
123 | int container_index = list_find(siblings, container); | 124 | int container_index = list_find(siblings, container); |