projects
/
free-sw
/
xcb
/
libxcb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replace all the _new functions with xcb_generate_id. repalce X11/XCB with xcb. Fix...
[free-sw/xcb/libxcb]
/
src
/
xcb_in.c
diff --git
a/src/xcb_in.c
b/src/xcb_in.c
index
b252ffc
..
1cb6b69
100644
(file)
--- a/
src/xcb_in.c
+++ b/
src/xcb_in.c
@@
-108,8
+108,6
@@
static int read_packet(xcb_connection_t *c)
}
c->in.request_completed = c->in.request_read - 1;
}
}
c->in.request_completed = c->in.request_read - 1;
}
- if(genrep.response_type == XCB_ERROR)
- c->in.request_completed = c->in.request_read;
while(c->in.pending_replies &&
XCB_SEQUENCE_COMPARE (c->in.pending_replies->request, <=, c->in.request_completed))
while(c->in.pending_replies &&
XCB_SEQUENCE_COMPARE (c->in.pending_replies->request, <=, c->in.request_completed))
@@
-120,6
+118,9
@@
static int read_packet(xcb_connection_t *c)
c->in.pending_replies_tail = &c->in.pending_replies;
free(oldpend);
}
c->in.pending_replies_tail = &c->in.pending_replies;
free(oldpend);
}
+
+ if(genrep.response_type == XCB_ERROR)
+ c->in.request_completed = c->in.request_read;
}
if(genrep.response_type == XCB_ERROR || genrep.response_type == XCB_REPLY)
}
if(genrep.response_type == XCB_ERROR || genrep.response_type == XCB_REPLY)