aboutsummaryrefslogtreecommitdiff
path: root/sway/commands
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-08-24 08:27:05 -0400
committerGitHub <noreply@github.com>2018-08-24 08:27:05 -0400
commite86d99acd655815781cd2e23877ce58ab5b24826 (patch)
tree5e056a7859751c68c0cfb425fc6f37599c3f7400 /sway/commands
parentf53c28d52a6954108592c246c013c0c4b076f09c (diff)
parentb6058703fa240780d66fac8ef96982c66b2b0263 (diff)
Merge pull request #2499 from RyanDwyer/refactor-destroy-functions
Refactor destroy functions and save workspaces when there's no outputs
Diffstat (limited to 'sway/commands')
-rw-r--r--sway/commands/move.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/move.c b/sway/commands/move.c
index c6dc0775..4c0189ec 100644
--- a/sway/commands/move.c
+++ b/sway/commands/move.c
@@ -247,7 +247,7 @@ static void workspace_move_to_output(struct sway_container *workspace,
}
// Try to remove an empty workspace from the destination output.
- container_reap_empty_recursive(new_output_focus);
+ container_reap_empty(new_output_focus);
output_sort_workspaces(output);
seat_set_focus(seat, output);