summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar David Eklov <david.eklov@gmail.com>2016-07-17 22:52:39 -0500
committerLibravatar David Eklov <david.eklov@gmail.com>2016-07-17 22:52:39 -0500
commitd9eb49f3b1b07a06300c40cb4dae0535279d0302 (patch)
treecc3c58f1ad8c7ae99874c130aef528d0bd601cd5
parentDo not crash when handling the command 'move position' (diff)
downloadsway-d9eb49f3b1b07a06300c40cb4dae0535279d0302.tar.gz
sway-d9eb49f3b1b07a06300c40cb4dae0535279d0302.tar.zst
sway-d9eb49f3b1b07a06300c40cb4dae0535279d0302.zip
Add missing entry to list of accepted arguments for the move command
-rw-r--r--sway/commands.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 1dec9889..aaacf0fc 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -1011,7 +1011,8 @@ static struct cmd_results *cmd_move(int argc, char **argv) {
1011 } 1011 }
1012 const char* expected_syntax = "Expected 'move <left|right|up|down>' or " 1012 const char* expected_syntax = "Expected 'move <left|right|up|down>' or "
1013 "'move <container|window> to workspace <name>' or " 1013 "'move <container|window> to workspace <name>' or "
1014 "'move <container|window|workspace> to output <name|direction>'"; 1014 "'move <container|window|workspace> to output <name|direction>' or "
1015 "'move position mouse'";
1015 swayc_t *view = get_focused_container(&root_container); 1016 swayc_t *view = get_focused_container(&root_container);
1016 1017
1017 if (strcasecmp(argv[0], "left") == 0) { 1018 if (strcasecmp(argv[0], "left") == 0) {