A "semi-private" API exists for applications that want to avoid the XCB top-half and work directly with the bottom half. The file "xcbxlib.h" contains the interface specification. It is an extremely small interface.
xcb_get_request_sent
(xcb_xlib.c)
unsigned int xcb_get_request_sent(xcb_connection_t *c)
Returns the XCB sequence number of the last request sent on the given connection. Must be used while the connection is locked, using the xlib_lock functions below.
- c
- an XCB connection
- Returns
- a sequence number.
xcb_xlib_lock
void xcb_xlib_lock(xcb_connection_t *c)
- c
- an XCB connection
xcb_xlib_unlock
void xcb_xlib_unlock(xcb_connection_t *c)
- c
- an XCB connection