diff options
Diffstat (limited to 'include/sway/config.h')
-rw-r--r-- | include/sway/config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index ee1852d4..473f723b 100644 --- a/include/sway/config.h +++ b/include/sway/config.h | |||
@@ -6,11 +6,13 @@ | |||
6 | #include <time.h> | 6 | #include <time.h> |
7 | #include <wlr/interfaces/wlr_switch.h> | 7 | #include <wlr/interfaces/wlr_switch.h> |
8 | #include <wlr/types/wlr_box.h> | 8 | #include <wlr/types/wlr_box.h> |
9 | #include <wlr/types/wlr_tablet_tool.h> | ||
9 | #include <xkbcommon/xkbcommon.h> | 10 | #include <xkbcommon/xkbcommon.h> |
10 | #include "../include/config.h" | 11 | #include "../include/config.h" |
11 | #include "list.h" | 12 | #include "list.h" |
12 | #include "swaynag.h" | 13 | #include "swaynag.h" |
13 | #include "tree/container.h" | 14 | #include "tree/container.h" |
15 | #include "sway/input/tablet.h" | ||
14 | #include "sway/tree/root.h" | 16 | #include "sway/tree/root.h" |
15 | #include "wlr-layer-shell-unstable-v1-protocol.h" | 17 | #include "wlr-layer-shell-unstable-v1-protocol.h" |
16 | 18 | ||
@@ -116,6 +118,11 @@ enum input_config_mapped_to { | |||
116 | MAPPED_TO_REGION, | 118 | MAPPED_TO_REGION, |
117 | }; | 119 | }; |
118 | 120 | ||
121 | struct input_config_tool { | ||
122 | enum wlr_tablet_tool_type type; | ||
123 | enum sway_tablet_tool_mode mode; | ||
124 | }; | ||
125 | |||
119 | /** | 126 | /** |
120 | * options for input devices | 127 | * options for input devices |
121 | */ | 128 | */ |
@@ -160,6 +167,8 @@ struct input_config { | |||
160 | char *mapped_to_output; | 167 | char *mapped_to_output; |
161 | struct wlr_box *mapped_to_region; | 168 | struct wlr_box *mapped_to_region; |
162 | 169 | ||
170 | list_t *tools; | ||
171 | |||
163 | bool capturable; | 172 | bool capturable; |
164 | struct wlr_box region; | 173 | struct wlr_box region; |
165 | }; | 174 | }; |