diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-02-20 06:48:33 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-02-20 06:48:33 -0500 |
commit | eabfb6c5598d5b655b40d8677d97b58cce757ef5 (patch) | |
tree | 02075b877bb9a6751e492aa9c1cbe2d59491d3d1 /include | |
parent | Enforce new IPC policies (diff) | |
download | sway-eabfb6c5598d5b655b40d8677d97b58cce757ef5.tar.gz sway-eabfb6c5598d5b655b40d8677d97b58cce757ef5.tar.zst sway-eabfb6c5598d5b655b40d8677d97b58cce757ef5.zip |
Add * policies and fix bug
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/config.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index c3a916b1..ba49b9a0 100644 --- a/include/sway/config.h +++ b/include/sway/config.h | |||
@@ -224,7 +224,12 @@ enum ipc_feature { | |||
224 | IPC_FEATURE_EVENT_MODE = 1024, | 224 | IPC_FEATURE_EVENT_MODE = 1024, |
225 | IPC_FEATURE_EVENT_WINDOW = 2048, | 225 | IPC_FEATURE_EVENT_WINDOW = 2048, |
226 | IPC_FEATURE_EVENT_BINDING = 4096, | 226 | IPC_FEATURE_EVENT_BINDING = 4096, |
227 | IPC_FEATURE_EVENT_INPUT = 8192 | 227 | IPC_FEATURE_EVENT_INPUT = 8192, |
228 | |||
229 | IPC_FEATURE_ALL_COMMANDS = 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128, | ||
230 | IPC_FEATURE_ALL_EVENTS = 256 | 512 | 1024 | 2048 | 4096 | 8192, | ||
231 | |||
232 | IPC_FEATURE_ALL = IPC_FEATURE_ALL_COMMANDS | IPC_FEATURE_ALL_EVENTS, | ||
228 | }; | 233 | }; |
229 | 234 | ||
230 | struct ipc_policy { | 235 | struct ipc_policy { |