Update for XCBSendRequest sequence number API changes.

This commit is contained in:
Jamey Sharp 2006-03-03 11:08:41 -08:00
parent a11d1b0ae6
commit f71ea0bc73

View file

@ -207,7 +207,9 @@ static inline int issue_complete_request(Display *dpy, int veclen, struct iovec
flags |= XCB_REQUEST_CHECKED;
/* send the accumulated request. */
XCBSendRequest(dpy->xcl->connection, &sequence, flags, vec, &xcb_req);
sequence = XCBSendRequest(dpy->xcl->connection, flags, vec, &xcb_req);
if(!sequence)
_XIOError(dpy);
/* update the iovecs to refer only to data not yet sent. */
vec[i].iov_len = -len;