aboutsummaryrefslogtreecommitdiff
path: root/include/ipc.h
diff options
context:
space:
mode:
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,