Hi, What's the XCB replacement for XPending() ? I can't use select() on the XCB file descriptor after XCB has already read data out of it and is holding it inside its input buffer.