From b7da973d09fa9508bfc996fed66524847481d690 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 13 Mar 2010 15:04:23 +0100 Subject: [PATCH] ipc: change message type of events (first bit set high) --- include/i3/ipc.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/i3/ipc.h b/include/i3/ipc.h index aad34976..5adec378 100644 --- a/include/i3/ipc.h +++ b/include/i3/ipc.h @@ -47,10 +47,11 @@ #define I3_IPC_REPLY_TYPE_SUBSCRIBE 2 /* - * Events from i3 to clients + * Events from i3 to clients. Events have the first bit set high. * */ +#define I3_IPC_EVENT_MASK (1 << 31) -#define I3_IPC_EVENT_WORKSPACE 0 +#define I3_IPC_EVENT_WORKSPACE (I3_IPC_EVENT_MASK | 0) #endif -- 2.39.5