diff options
Diffstat (limited to 'libX11/src')
-rw-r--r-- | libX11/src/xcb_io.c | 2 |
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;
|