commit d6ab5e481be2faa0e911d0b3109ae01fe79eb25f
parent 2139001c9f61a84ed1ac581a54bb2bde68928afd
Author: Will Hunt <half-shot@molrams.com>
Date: Tue, 18 Aug 2015 12:50:15 +0100
Beguin work on the move command.
Stubbed method.
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/sway/commands.c b/sway/commands.c
@@ -281,6 +281,11 @@ static bool cmd_focus_follows_mouse(struct sway_config *config, int argc, char *
return true;
}
+static bool cmd_move(struct sway_config *config, int argc, char **argv) {
+ sway_log(L_DEBUG, "move cmd stub called");//Stubbed method until I get back.
+ return true;
+}
+
static bool cmd_kill(struct sway_config *config, int argc, char **argv) {
swayc_t *view = get_focused_container(&root_container);
wlc_view_close(view->handle);
@@ -492,7 +497,8 @@ static struct cmd_handler handlers[] = {
{ "split", cmd_split },
{ "splith", cmd_splith },
{ "splitv", cmd_splitv },
- { "workspace", cmd_workspace }
+ { "workspace", cmd_workspace },
+ { "cmd_move",cmd_move}
};
static char **split_directive(char *line, int *argc) {