aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-08-07 10:27:45 -0400
committerGitHub <noreply@github.com>2018-08-07 10:27:45 -0400
commit6f0bc469e9b99ea641fdf98805f29e8acd96894a (patch)
tree0073d03974a8954744ea98e2a8ccc27aa4329427 /sway
parent84845adb8e60448de1e91633294e31f2030a5038 (diff)
parent5ac6f2f4290e609897faa322997fc7516e7dfb63 (diff)
Merge pull request #2432 from RyanDwyer/fix-move-crash
Fix crash when running `move container to workspace back_and_forth`
Diffstat (limited to 'sway')
-rw-r--r--sway/commands/move.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/commands/move.c b/sway/commands/move.c
index bb4a7124..95dcb088 100644
--- a/sway/commands/move.c
+++ b/sway/commands/move.c
@@ -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) {