diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-09-07 18:14:37 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-09-07 18:14:37 -0400 |
commit | 7654f5e7cdbf5edff2f576a59cf04c530dd6efb5 (patch) | |
tree | 8496fd8673d31bac1802d756885a8fc64245a552 /include/commands.h | |
parent | afe9cf0be0f12662f10ebb888a2a41aa613a9422 (diff) | |
parent | 3eb29ea7364724af99e4f4a5f7a6f633e17baf8d (diff) |
Merge pull request #173 from taiyu-len/config_mode
config modes
Diffstat (limited to 'include/commands.h')
-rw-r--r-- | include/commands.h | 4 |
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(); |