summaryrefslogtreecommitdiff
path: root/sway/ipc-server.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2016-12-02 16:08:45 -0500
committerDrew DeVault <[email protected]>2016-12-02 16:08:45 -0500
commite9e1a6a409a276310e1015763184641547e7823c (patch)
treee3133eedaa7aa43051c2ce849e2b205d763be83a /sway/ipc-server.c
parent0a1b211e09e9fc82885eaf12c0a3658d36c0bec0 (diff)
Add IPC policy to config
Also reduces enum abuse, cc @minus7
Diffstat (limited to 'sway/ipc-server.c')
-rw-r--r--sway/ipc-server.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sway/ipc-server.c b/sway/ipc-server.c
index 0442a2f9..ef741e3b 100644
--- a/sway/ipc-server.c
+++ b/sway/ipc-server.c
@@ -55,8 +55,6 @@ bool ipc_send_reply(struct ipc_client *client, const char *payload, uint32_t pay
void ipc_get_workspaces_callback(swayc_t *workspace, void *data);
void ipc_get_outputs_callback(swayc_t *container, void *data);
-#define event_mask(ev) (1 << (ev & 0x7F))
-
void ipc_init(void) {
ipc_socket = socket(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK | SOCK_CLOEXEC, 0);
if (ipc_socket == -1) {