[Xcb-commit] xcb
Jamey Sharp
jamey at kemper.freedesktop.org
Mon Sep 18 14:50:33 PDT 2006
xcb/src/xcb_in.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
New commits:
diff-tree 2afa71474201d627b108325024a38fd580010329 (from 7a17e9dd2973167440d00f363e2b086cfc9920fe)
Author: Jamey Sharp <jamey at minilop.net>
Date: Wed Sep 13 12:30:11 2006 -0700
Fix bug #7261: events do not signal the end of replies for that sequence number.
diff --git a/xcb/src/xcb_in.c b/xcb/src/xcb_in.c
index d513cdd..d4dbb3f 100644
--- a/xcb/src/xcb_in.c
+++ b/xcb/src/xcb_in.c
@@ -108,8 +108,8 @@ static int read_packet(XCBConnection *c)
}
c->in.request_completed = c->in.request_read - 1;
}
- if(genrep.response_type != XCBReply) /* error or event */
- c->in.request_completed = c->in.request_read; /* XXX: does event/error imply no more replies? */
+ if(genrep.response_type == XCBError)
+ 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))
More information about the xcb-commit
mailing list