diff options
Diffstat (limited to 'include/sway/config.h')
-rw-r--r-- | include/sway/config.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index febde63d..c3a916b1 100644 --- a/include/sway/config.h +++ b/include/sway/config.h | |||
@@ -203,7 +203,6 @@ enum secure_feature { | |||
203 | FEATURE_FULLSCREEN = 16, | 203 | FEATURE_FULLSCREEN = 16, |
204 | FEATURE_KEYBOARD = 32, | 204 | FEATURE_KEYBOARD = 32, |
205 | FEATURE_MOUSE = 64, | 205 | FEATURE_MOUSE = 64, |
206 | FEATURE_IPC = 128, | ||
207 | }; | 206 | }; |
208 | 207 | ||
209 | struct feature_policy { | 208 | struct feature_policy { |
@@ -228,6 +227,11 @@ enum ipc_feature { | |||
228 | IPC_FEATURE_EVENT_INPUT = 8192 | 227 | IPC_FEATURE_EVENT_INPUT = 8192 |
229 | }; | 228 | }; |
230 | 229 | ||
230 | struct ipc_policy { | ||
231 | char *program; | ||
232 | uint32_t features; | ||
233 | }; | ||
234 | |||
231 | /** | 235 | /** |
232 | * The configuration struct. The result of loading a config file. | 236 | * The configuration struct. The result of loading a config file. |
233 | */ | 237 | */ |
@@ -300,7 +304,7 @@ struct sway_config { | |||
300 | // Security | 304 | // Security |
301 | list_t *command_policies; | 305 | list_t *command_policies; |
302 | list_t *feature_policies; | 306 | list_t *feature_policies; |
303 | uint32_t ipc_policy; | 307 | list_t *ipc_policies; |
304 | }; | 308 | }; |
305 | 309 | ||
306 | void pid_workspace_add(struct pid_workspace *pw); | 310 | void pid_workspace_add(struct pid_workspace *pw); |