X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcbext.h;h=508ebf0b27d997ea6b60fff99189971bbcaf1bf1;hb=2a18842f0f93516ff726a2dfa44348410bb55626;hp=fb169cfc787a163f0eb3916304374627c77e3b02;hpb=29f9fe0fc805a1ec6860f167a45664cc1cf0c769;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcbext.h b/src/xcbext.h index fb169cf..508ebf0 100644 --- a/src/xcbext.h +++ b/src/xcbext.h @@ -53,7 +53,8 @@ typedef struct { enum XCBSendRequestFlags { XCB_REQUEST_CHECKED = 1 << 0, - XCB_REQUEST_RAW = 1 << 1 + XCB_REQUEST_RAW = 1 << 1, + XCB_REQUEST_DISCARD_REPLY = 1 << 2 }; unsigned int XCBSendRequest(XCBConnection *c, int flags, struct iovec *vector, const XCBProtocolRequest *request); @@ -62,6 +63,7 @@ unsigned int XCBSendRequest(XCBConnection *c, int flags, struct iovec *vector, c /* xcb_in.c */ void *XCBWaitForReply(XCBConnection *c, unsigned int request, XCBGenericError **e); +int XCBPollForReply(XCBConnection *c, unsigned int request, void **reply, XCBGenericError **error); /* xcb_xid.c */