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

Fix crash when running `move container to workspace back_and_forth`
master
Drew DeVault 6 years ago committed by GitHub
commit 6f0bc469e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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) {

Loading…
Cancel
Save