aboutsummaryrefslogtreecommitdiffstats
path: root/sway
diff options
context:
space:
mode:
authorLibravatar Will Hunt <half-shot@molrams.com>2015-08-18 12:50:15 +0100
committerLibravatar Half-Shot <half-shot@molrams.com>2015-08-18 21:42:23 +0100
commitd6ab5e481be2faa0e911d0b3109ae01fe79eb25f (patch)
tree2f10e929cd9ba0d380b593f95f36dc6689c456be /sway
parentCoding style enforcement (diff)
downloadsway-d6ab5e481be2faa0e911d0b3109ae01fe79eb25f.tar.gz
sway-d6ab5e481be2faa0e911d0b3109ae01fe79eb25f.tar.zst
sway-d6ab5e481be2faa0e911d0b3109ae01fe79eb25f.zip
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 *
281 return true; 281 return true;
282} 282}
283 283
284static bool cmd_move(struct sway_config *config, int argc, char **argv) {
285 sway_log(L_DEBUG, "move cmd stub called");//Stubbed method until I get back.
286 return true;
287}
288
284static bool cmd_kill(struct sway_config *config, int argc, char **argv) { 289static bool cmd_kill(struct sway_config *config, int argc, char **argv) {
285 swayc_t *view = get_focused_container(&root_container); 290 swayc_t *view = get_focused_container(&root_container);
286 wlc_view_close(view->handle); 291 wlc_view_close(view->handle);
@@ -492,7 +497,8 @@ static struct cmd_handler handlers[] = {
492 { "split", cmd_split }, 497 { "split", cmd_split },
493 { "splith", cmd_splith }, 498 { "splith", cmd_splith },
494 { "splitv", cmd_splitv }, 499 { "splitv", cmd_splitv },
495 { "workspace", cmd_workspace } 500 { "workspace", cmd_workspace },
501 { "cmd_move",cmd_move}
496}; 502};
497 503
498static char **split_directive(char *line, int *argc) { 504static char **split_directive(char *line, int *argc) {