aboutsummaryrefslogtreecommitdiff
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-02-20 06:48:33 -0500
committerDrew DeVault <sir@cmpwn.com>2017-02-20 06:48:33 -0500
commiteabfb6c5598d5b655b40d8677d97b58cce757ef5 (patch)
tree02075b877bb9a6751e492aa9c1cbe2d59491d3d1 /include/sway/config.h
parent1980a0835804b205da1fa00187640ae8a0c4f9be (diff)
Add * policies and fix bug
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h7
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 {
IPC_FEATURE_EVENT_MODE = 1024,
IPC_FEATURE_EVENT_WINDOW = 2048,
IPC_FEATURE_EVENT_BINDING = 4096,
- IPC_FEATURE_EVENT_INPUT = 8192
+ IPC_FEATURE_EVENT_INPUT = 8192,
+
+ IPC_FEATURE_ALL_COMMANDS = 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128,
+ IPC_FEATURE_ALL_EVENTS = 256 | 512 | 1024 | 2048 | 4096 | 8192,
+
+ IPC_FEATURE_ALL = IPC_FEATURE_ALL_COMMANDS | IPC_FEATURE_ALL_EVENTS,
};
struct ipc_policy {