diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-12-04 08:30:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-04 08:30:40 -0500 |
commit | 5778c59a2f302071fd781683db57a97b51396c87 (patch) | |
tree | e0ec272832e88e6c8d92719efa70c6749452daff /include/ipc.h | |
parent | Fix memory leaks in swaybar (diff) | |
parent | Disallow everything by default (diff) | |
download | sway-5778c59a2f302071fd781683db57a97b51396c87.tar.gz sway-5778c59a2f302071fd781683db57a97b51396c87.tar.zst sway-5778c59a2f302071fd781683db57a97b51396c87.zip |
Merge pull request #981 from SirCmpwn/security
Security features
Diffstat (limited to 'include/ipc.h')
-rw-r--r-- | include/ipc.h | 2 |
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 | |||
4 | enum ipc_command_type { | 6 | enum ipc_command_type { |
5 | IPC_COMMAND = 0, | 7 | IPC_COMMAND = 0, |
6 | IPC_GET_WORKSPACES = 1, | 8 | IPC_GET_WORKSPACES = 1, |