module/i3-commonh: I3_IPC_REPLY_TYPE_SYNC is relatively new

And is for example not present in our CI.
This commit is contained in:
Daniel Eklöf 2019-02-15 22:06:24 +01:00
parent e40b50bf5e
commit 06ae704ded

View file

@ -253,9 +253,11 @@ i3_receive_loop(int abort_fd, int sock,
case I3_IPC_REPLY_TYPE_TICK:
pkt_handler = cbs->reply_tick;
break;
#if defined(I3_IPC_REPLY_TYPE_SYNC)
case I3_IPC_REPLY_TYPE_SYNC:
pkt_handler = cbs->reply_sync;
break;
#endif
case I3_IPC_EVENT_WORKSPACE:
pkt_handler = cbs->event_workspace;