aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/xcb_io.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-08-07 14:16:42 +0000
committermarha <marha@users.sourceforge.net>2010-08-07 14:16:42 +0000
commit4e3f3e7b8cc2c617187bdf23a9948bfd5121074e (patch)
treeddd603e7fd5151ae250b7fb63c9e84eebc79814e /libX11/src/xcb_io.c
parent6849d83857b4e470a44ad8b6aa5cfb283fd64c89 (diff)
downloadvcxsrv-4e3f3e7b8cc2c617187bdf23a9948bfd5121074e.tar.gz
vcxsrv-4e3f3e7b8cc2c617187bdf23a9948bfd5121074e.tar.bz2
vcxsrv-4e3f3e7b8cc2c617187bdf23a9948bfd5121074e.zip
libXext xserver libX11 libXdmcp libxcb git update 7/8/2010
Diffstat (limited to 'libX11/src/xcb_io.c')
-rw-r--r--libX11/src/xcb_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/xcb_io.c b/libX11/src/xcb_io.c
index a0692fec1..13c709f2f 100644
--- a/libX11/src/xcb_io.c
+++ b/libX11/src/xcb_io.c
@@ -580,7 +580,7 @@ Status _XReply(Display *dpy, xReply *rep, int extra, Bool discard)
xcb_generic_event_t *event = dpy->xcb->next_event;
unsigned long event_sequence = dpy->last_request_read;
widen(&event_sequence, event->full_sequence);
- if(event_sequence == current->sequence)
+ if(event_sequence == dpy->last_request_read)
{
error = (xcb_generic_error_t *) event;
dpy->xcb->next_event = NULL;