aboutsummaryrefslogtreecommitdiffstats
path: root/include/ipc.h
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2016-12-02 16:08:45 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2016-12-02 16:08:45 -0500
commite9e1a6a409a276310e1015763184641547e7823c (patch)
treee3133eedaa7aa43051c2ce849e2b205d763be83a /include/ipc.h
parentDrop -Denable-binding-event (diff)
downloadsway-e9e1a6a409a276310e1015763184641547e7823c.tar.gz
sway-e9e1a6a409a276310e1015763184641547e7823c.tar.zst
sway-e9e1a6a409a276310e1015763184641547e7823c.zip
Add IPC policy to config
Also reduces enum abuse, cc @minus7
Diffstat (limited to 'include/ipc.h')
-rw-r--r--include/ipc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ipc.h b/include/ipc.h
index 496625ce..98390335 100644
--- a/include/ipc.h
+++ b/include/ipc.h
@@ -1,6 +1,8 @@
1#ifndef _SWAY_IPC_H 1#ifndef _SWAY_IPC_H
2#define _SWAY_IPC_H 2#define _SWAY_IPC_H
3 3
4#define event_mask(ev) (1 << (ev & 0x7F))
5
4enum ipc_command_type { 6enum ipc_command_type {
5 IPC_COMMAND = 0, 7 IPC_COMMAND = 0,
6 IPC_GET_WORKSPACES = 1, 8 IPC_GET_WORKSPACES = 1,