*
*/
+/** Command reply type */
+#define I3_IPC_REPLY_TYPE_COMMAND 0
+
/** Workspaces reply type */
#define I3_IPC_REPLY_TYPE_WORKSPACES 1
parse_command(global_conn, (const char*)command);
free(command);
+ /* For now, every command gets a positive acknowledge
+ * (will change with the new command parser) */
+ const char *reply = "{\"success\":true}";
+ ipc_send_message(fd, (const unsigned char*)reply,
+ I3_IPC_REPLY_TYPE_COMMAND, strlen(reply));
+
break;
}
case I3_IPC_MESSAGE_TYPE_GET_WORKSPACES: