summaryrefslogtreecommitdiffstats
path: root/include/commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/commands.h')
-rw-r--r--include/commands.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/commands.h b/include/commands.h
index 31bc0b0b..62f8166e 100644
--- a/include/commands.h
+++ b/include/commands.h
@@ -9,7 +9,11 @@ struct cmd_handler {
9 // if <0 command is deffered until compositor is ready. 9 // if <0 command is deffered until compositor is ready.
10 // if =0 command can be called anytime. 10 // if =0 command can be called anytime.
11 // if >0 command can only be called via keybind, ignored in config 11 // if >0 command can only be called via keybind, ignored in config
12 int config_type; 12 enum {
13 CMD_COMPOSITOR_READY,
14 CMD_KEYBIND,
15 CMD_ANYTIME
16 } config_type;
13}; 17};
14 18
15struct cmd_handler *find_handler(char *line); 19struct cmd_handler *find_handler(char *line);