aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorWill Hunt <half-shot@molrams.com>2015-08-18 12:50:15 +0100
committerHalf-Shot <half-shot@molrams.com>2015-08-18 21:42:23 +0100
commitd6ab5e481be2faa0e911d0b3109ae01fe79eb25f (patch)
tree2f10e929cd9ba0d380b593f95f36dc6689c456be /sway
parent2139001c9f61a84ed1ac581a54bb2bde68928afd (diff)
Beguin work on the move command.
Stubbed method.
Diffstat (limited to 'sway')
-rw-r--r--sway/commands.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 51de7a50..19704064 100644
--- 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) {