aboutsummaryrefslogtreecommitdiff
path: root/include/ipc.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-12-04 08:30:40 -0500
committerGitHub <noreply@github.com>2016-12-04 08:30:40 -0500
commit5778c59a2f302071fd781683db57a97b51396c87 (patch)
treee0ec272832e88e6c8d92719efa70c6749452daff /include/ipc.h
parentcd5694fdb5bc9beb575902ea57d037833ad8e85c (diff)
parente7a764fdf450a8259ddbc17446dd720fa1157b44 (diff)
downloadsway-5778c59a2f302071fd781683db57a97b51396c87.tar.xz
Merge pull request #981 from SirCmpwn/security
Security features
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 @@
#ifndef _SWAY_IPC_H
#define _SWAY_IPC_H
+#define event_mask(ev) (1 << (ev & 0x7F))
+
enum ipc_command_type {
IPC_COMMAND = 0,
IPC_GET_WORKSPACES = 1,