ipc: change message type of events (first bit set high)

next
Michael Stapelberg 2010-03-13 15:04:23 +01:00
parent 6580f89560
commit b7da973d09
1 changed files with 3 additions and 2 deletions

View File

@ -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