summaryrefslogtreecommitdiff
path: root/include/commands.h
diff options
context:
space:
mode:
authortaiyu <[email protected]>2015-09-07 14:29:40 -0700
committertaiyu <[email protected]>2015-09-07 14:29:40 -0700
commit71af5b7ddebe6b714f3be65bf8c810c952a7e0af (patch)
tree20eac4917bad5c08c89bffa1c33063ebda03a2f5 /include/commands.h
parentafe9cf0be0f12662f10ebb888a2a41aa613a9422 (diff)
config modes
Diffstat (limited to 'include/commands.h')
-rw-r--r--include/commands.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/commands.h b/include/commands.h
index 808e64eb..8fb0c1d8 100644
--- a/include/commands.h
+++ b/include/commands.h
@@ -5,7 +5,7 @@
struct cmd_handler {
char *command;
- bool (*handle)(struct sway_config *config, int argc, char **argv);
+ bool (*handle)(int argc, char **argv);
enum {
CMD_COMPOSITOR_READY,
CMD_KEYBIND,
@@ -14,7 +14,7 @@ struct cmd_handler {
};
struct cmd_handler *find_handler(char *line);
-bool handle_command(struct sway_config *config, char *command);
+bool handle_command(char *command);
void remove_view_from_scratchpad();