diff options
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sway/commands.c b/sway/commands.c index 1d88e724..cd010913 100644 --- a/sway/commands.c +++ b/sway/commands.c | |||
@@ -351,13 +351,13 @@ static bool cmd_move(struct sway_config *config, int argc, char **argv) { | |||
351 | swayc_t *view = get_focused_container(&root_container); | 351 | swayc_t *view = get_focused_container(&root_container); |
352 | 352 | ||
353 | if (strcasecmp(argv[0], "left") == 0) { | 353 | if (strcasecmp(argv[0], "left") == 0) { |
354 | move_container(view,&root_container,MOVE_LEFT); | 354 | move_container(view,MOVE_LEFT); |
355 | } else if (strcasecmp(argv[0], "right") == 0) { | 355 | } else if (strcasecmp(argv[0], "right") == 0) { |
356 | move_container(view,&root_container,MOVE_RIGHT); | 356 | move_container(view,MOVE_RIGHT); |
357 | } else if (strcasecmp(argv[0], "up") == 0) { | 357 | } else if (strcasecmp(argv[0], "up") == 0) { |
358 | move_container(view,&root_container,MOVE_UP); | 358 | move_container(view,MOVE_UP); |
359 | } else if (strcasecmp(argv[0], "down") == 0) { | 359 | } else if (strcasecmp(argv[0], "down") == 0) { |
360 | move_container(view,&root_container,MOVE_DOWN); | 360 | move_container(view,MOVE_DOWN); |
361 | } else if (strcasecmp(argv[0], "container") == 0 || strcasecmp(argv[0], "window") == 0) { | 361 | } else if (strcasecmp(argv[0], "container") == 0 || strcasecmp(argv[0], "window") == 0) { |
362 | // "move container to workspace x" | 362 | // "move container to workspace x" |
363 | if (!checkarg(argc, "move container/window", EXPECTED_EQUAL_TO, 4) || | 363 | if (!checkarg(argc, "move container/window", EXPECTED_EQUAL_TO, 4) || |