mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-07 16:48:31 +02:00
Update for XCBSendRequest sequence number API changes.
This commit is contained in:
parent
a11d1b0ae6
commit
f71ea0bc73
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue