aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-08-24 08:27:05 -0400
committerLibravatar GitHub <noreply@github.com>2018-08-24 08:27:05 -0400
commite86d99acd655815781cd2e23877ce58ab5b24826 (patch)
tree5e056a7859751c68c0cfb425fc6f37599c3f7400 /sway/commands
parentMerge pull request #2470 from ianyfan/completions (diff)
parentRefactor destroy functions and save workspaces when there's no outputs (diff)
downloadsway-e86d99acd655815781cd2e23877ce58ab5b24826.tar.gz
sway-e86d99acd655815781cd2e23877ce58ab5b24826.tar.zst
sway-e86d99acd655815781cd2e23877ce58ab5b24826.zip
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,
247 } 247 }
248 248
249 // Try to remove an empty workspace from the destination output. 249 // Try to remove an empty workspace from the destination output.
250 container_reap_empty_recursive(new_output_focus); 250 container_reap_empty(new_output_focus);
251 251
252 output_sort_workspaces(output); 252 output_sort_workspaces(output);
253 seat_set_focus(seat, output); 253 seat_set_focus(seat, output);