Merge pull request #2432 from RyanDwyer/fix-move-crash

Fix crash when running `move container to workspace back_and_forth`
This commit is contained in:
Drew DeVault 2018-08-07 10:27:45 -04:00 committed by GitHub
commit 6f0bc469e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -105,7 +105,6 @@ static struct cmd_results *cmd_move_container(struct sway_container *current,
strcasecmp(argv[2], "prev") == 0 ||
strcasecmp(argv[2], "next_on_output") == 0 ||
strcasecmp(argv[2], "prev_on_output") == 0 ||
strcasecmp(argv[2], "back_and_forth") == 0 ||
strcasecmp(argv[2], "current") == 0) {
ws = workspace_by_name(argv[2]);
} else if (strcasecmp(argv[2], "back_and_forth") == 0) {