diff options
Diffstat (limited to 'include/sway/config.h')
-rw-r--r-- | include/sway/config.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index 9a00ccb5..3e3d2725 100644 --- a/include/sway/config.h +++ b/include/sway/config.h | |||
@@ -182,6 +182,15 @@ enum seat_keyboard_grouping { | |||
182 | KEYBOARD_GROUP_KEYMAP | 182 | KEYBOARD_GROUP_KEYMAP |
183 | }; | 183 | }; |
184 | 184 | ||
185 | enum sway_input_idle_source { | ||
186 | IDLE_SOURCE_KEYBOARD = 1 << 0, | ||
187 | IDLE_SOURCE_POINTER = 1 << 1, | ||
188 | IDLE_SOURCE_TOUCH = 1 << 2, | ||
189 | IDLE_SOURCE_TABLET_PAD = 1 << 3, | ||
190 | IDLE_SOURCE_TABLET_TOOL = 1 << 4, | ||
191 | IDLE_SOURCE_SWITCH = 1 << 5, | ||
192 | }; | ||
193 | |||
185 | /** | 194 | /** |
186 | * Options for multiseat and other misc device configurations | 195 | * Options for multiseat and other misc device configurations |
187 | */ | 196 | */ |
@@ -192,6 +201,7 @@ struct seat_config { | |||
192 | int hide_cursor_timeout; | 201 | int hide_cursor_timeout; |
193 | enum seat_config_allow_constrain allow_constrain; | 202 | enum seat_config_allow_constrain allow_constrain; |
194 | enum seat_keyboard_grouping keyboard_grouping; | 203 | enum seat_keyboard_grouping keyboard_grouping; |
204 | uint32_t idle_inhibit_sources, idle_wake_sources; | ||
195 | struct { | 205 | struct { |
196 | char *name; | 206 | char *name; |
197 | int size; | 207 | int size; |