aboutsummaryrefslogtreecommitdiff
path: root/include/commands.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-09-07 18:14:37 -0400
committerDrew DeVault <sir@cmpwn.com>2015-09-07 18:14:37 -0400
commit7654f5e7cdbf5edff2f576a59cf04c530dd6efb5 (patch)
tree8496fd8673d31bac1802d756885a8fc64245a552 /include/commands.h
parentafe9cf0be0f12662f10ebb888a2a41aa613a9422 (diff)
parent3eb29ea7364724af99e4f4a5f7a6f633e17baf8d (diff)
Merge pull request #173 from taiyu-len/config_mode
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();