summaryrefslogtreecommitdiffstats
path: root/sway
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-08-07 10:27:45 -0400
committerLibravatar GitHub <noreply@github.com>2018-08-07 10:27:45 -0400
commit6f0bc469e9b99ea641fdf98805f29e8acd96894a (patch)
tree0073d03974a8954744ea98e2a8ccc27aa4329427 /sway
parentMerge pull request #2433 from RyanDwyer/fix-sticky-infinite-loop (diff)
parentFix crash when running `move container to workspace back_and_forth` (diff)
downloadsway-6f0bc469e9b99ea641fdf98805f29e8acd96894a.tar.gz
sway-6f0bc469e9b99ea641fdf98805f29e8acd96894a.tar.zst
sway-6f0bc469e9b99ea641fdf98805f29e8acd96894a.zip
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,
105 strcasecmp(argv[2], "prev") == 0 || 105 strcasecmp(argv[2], "prev") == 0 ||
106 strcasecmp(argv[2], "next_on_output") == 0 || 106 strcasecmp(argv[2], "next_on_output") == 0 ||
107 strcasecmp(argv[2], "prev_on_output") == 0 || 107 strcasecmp(argv[2], "prev_on_output") == 0 ||
108 strcasecmp(argv[2], "back_and_forth") == 0 ||
109 strcasecmp(argv[2], "current") == 0) { 108 strcasecmp(argv[2], "current") == 0) {
110 ws = workspace_by_name(argv[2]); 109 ws = workspace_by_name(argv[2]);
111 } else if (strcasecmp(argv[2], "back_and_forth") == 0) { 110 } else if (strcasecmp(argv[2], "back_and_forth") == 0) {