diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/commands.h | 4 | ||||
-rw-r--r-- | include/sway/input/input-manager.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h index b1f0423d..138e3c29 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h | |||
@@ -1,6 +1,8 @@ | |||
1 | #ifndef _SWAY_COMMANDS_H | 1 | #ifndef _SWAY_COMMANDS_H |
2 | #define _SWAY_COMMANDS_H | 2 | #define _SWAY_COMMANDS_H |
3 | 3 | ||
4 | #include "config.h" | ||
5 | |||
4 | /** | 6 | /** |
5 | * Indicates the result of a command's execution. | 7 | * Indicates the result of a command's execution. |
6 | */ | 8 | */ |
@@ -39,6 +41,8 @@ enum expected_args { | |||
39 | EXPECTED_EQUAL_TO | 41 | EXPECTED_EQUAL_TO |
40 | }; | 42 | }; |
41 | 43 | ||
44 | void input_cmd_apply(struct input_config *input); | ||
45 | |||
42 | struct cmd_results *checkarg(int argc, const char *name, | 46 | struct cmd_results *checkarg(int argc, const char *name, |
43 | enum expected_args type, int val); | 47 | enum expected_args type, int val); |
44 | 48 | ||
diff --git a/include/sway/input/input-manager.h b/include/sway/input/input-manager.h index 9548c170..78bc161f 100644 --- a/include/sway/input/input-manager.h +++ b/include/sway/input/input-manager.h | |||
@@ -5,6 +5,8 @@ | |||
5 | #include "sway/config.h" | 5 | #include "sway/config.h" |
6 | #include "list.h" | 6 | #include "list.h" |
7 | 7 | ||
8 | extern struct input_config *current_input_config; | ||
9 | |||
8 | struct sway_input_manager { | 10 | struct sway_input_manager { |
9 | struct wl_listener input_add; | 11 | struct wl_listener input_add; |
10 | struct wl_listener input_remove; | 12 | struct wl_listener input_remove; |