aboutsummaryrefslogtreecommitdiff
path: root/libX11/src
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-08-07 14:34:01 +0000
committermarha <marha@users.sourceforge.net>2010-08-07 14:34:01 +0000
commit9941d1bb9c10232b83e86c4c5df5092e81a12c1b (patch)
treee8ce3d9af12c74753a8d03707bde27ae16a1e5da /libX11/src
parentc002a3759f837a569c1c47241923fd03087f0ce7 (diff)
parent4e3f3e7b8cc2c617187bdf23a9948bfd5121074e (diff)
downloadvcxsrv-9941d1bb9c10232b83e86c4c5df5092e81a12c1b.tar.gz
vcxsrv-9941d1bb9c10232b83e86c4c5df5092e81a12c1b.tar.bz2
vcxsrv-9941d1bb9c10232b83e86c4c5df5092e81a12c1b.zip
svn merge ^/branches/released .
Diffstat (limited to 'libX11/src')
-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 c2170b4eb..6a2172bdb 100644
--- a/libX11/src/xcb_io.c
+++ b/libX11/src/xcb_io.c
@@ -583,7 +583,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;