summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2016-12-02 17:55:03 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2016-12-02 17:55:03 -0500
commit62dad7148f7b7b314f0297e191861ae3f03e9e1f (patch)
tree45bc560d7a197200ff3658cbbb5763e860bf1372 /include
parentAdd IPC security policy command handlers (diff)
downloadsway-62dad7148f7b7b314f0297e191861ae3f03e9e1f.tar.gz
sway-62dad7148f7b7b314f0297e191861ae3f03e9e1f.tar.zst
sway-62dad7148f7b7b314f0297e191861ae3f03e9e1f.zip
Enforce IPC security policy
Diffstat (limited to 'include')
-rw-r--r--include/sway/config.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index 1154b871..192e697c 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -209,6 +209,23 @@ struct feature_policy {
209 uint32_t features; 209 uint32_t features;
210}; 210};
211 211
212enum ipc_feature {
213 IPC_FEATURE_COMMAND = 1,
214 IPC_FEATURE_GET_WORKSPACES = 2,
215 IPC_FEATURE_GET_OUTPUTS = 4,
216 IPC_FEATURE_GET_TREE = 8,
217 IPC_FEATURE_GET_MARKS = 16,
218 IPC_FEATURE_GET_BAR_CONFIG = 32,
219 IPC_FEATURE_GET_VERSION = 64,
220 IPC_FEATURE_GET_INPUTS = 128,
221 IPC_FEATURE_EVENT_WORKSPACE = 256,
222 IPC_FEATURE_EVENT_OUTPUT = 512,
223 IPC_FEATURE_EVENT_MODE = 1024,
224 IPC_FEATURE_EVENT_WINDOW = 2048,
225 IPC_FEATURE_EVENT_BINDING = 4096,
226 IPC_FEATURE_EVENT_INPUT = 8192
227};
228
212/** 229/**
213 * The configuration struct. The result of loading a config file. 230 * The configuration struct. The result of loading a config file.
214 */ 231 */