]> git.sur5r.net Git - i3/i3/blobdiff - include/commands_parser.h
Merge pull request #1451 from acrisci/feature/handle-button-release
[i3/i3] / include / commands_parser.h
index 6e531e9bd43985d13476e1d47ffc98f6634df6b8..cfa44dd5a5a03621fd04fd9f081018c297ba0b6d 100644 (file)
@@ -44,6 +44,14 @@ struct CommandResult {
     bool needs_tree_render;
 };
 
+/**
+ * Parses a string (or word, if as_word is true). Extracted out of
+ * parse_command so that it can be used in src/workspace.c for interpreting
+ * workspace commands.
+ *
+ */
+char *parse_string(const char **walk, bool as_word);
+
 /**
  * Parses and executes the given command. If a caller-allocated yajl_gen is
  * passed, a json reply will be generated in the format specified by the ipc