diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-12-11 04:17:14 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-12-11 07:55:01 -0500 |
commit | 462a451328a1d6f0b17d34b431d6bf3dec87c1ba (patch) | |
tree | 56649e0702d13e8a7dd5143b5b7d2b9db094a1a7 /include | |
parent | sway pointer (diff) | |
download | sway-462a451328a1d6f0b17d34b431d6bf3dec87c1ba.tar.gz sway-462a451328a1d6f0b17d34b431d6bf3dec87c1ba.tar.zst sway-462a451328a1d6f0b17d34b431d6bf3dec87c1ba.zip |
input config
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; |