From: Michael Stapelberg Date: Sat, 13 Mar 2010 14:04:23 +0000 (+0100) Subject: ipc: change message type of events (first bit set high) X-Git-Tag: 3.e~6^2~77 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b7da973d09fa9508bfc996fed66524847481d690;p=i3%2Fi3 ipc: change message type of events (first bit set high) --- 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