]> git.sur5r.net Git - i3/i3/blobdiff - include/commands_parser.h
use the new parser by default
[i3/i3] / include / commands_parser.h
index 6ff8d54ea81a1ccdff2567fb3d9cc16ebec19d8d..fcc14ff58881f3ffbfb1096d9ff7b02afa673061 100644 (file)
@@ -27,6 +27,11 @@ struct CommandResult {
 
     /* Whether the command requires calling tree_render. */
     bool needs_tree_render;
+
+    /* The next state to transition to. Passed to the function so that we can
+     * determine the next state as a result of a function call, like
+     * cfg_criteria_pop_state() does. */
+    int next_state;
 };
 
 struct CommandResult *parse_command(const char *input);