diff options
author | marha <marha@users.sourceforge.net> | 2011-09-05 08:42:34 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-09-05 08:42:34 +0200 |
commit | 324c1ed4069c7d49d0ff7c63261281148f9b6cd8 (patch) | |
tree | b03f9a87fc540816c1c78c325a53aed6240db739 /libxcb/src | |
parent | 746359d2f7e675a0bfc48a4ba6f8200cace98df2 (diff) | |
download | vcxsrv-324c1ed4069c7d49d0ff7c63261281148f9b6cd8.tar.gz vcxsrv-324c1ed4069c7d49d0ff7c63261281148f9b6cd8.tar.bz2 vcxsrv-324c1ed4069c7d49d0ff7c63261281148f9b6cd8.zip |
git update libxcb mesa 5 sep 2011
Diffstat (limited to 'libxcb/src')
-rw-r--r-- | libxcb/src/xcb_in.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libxcb/src/xcb_in.c b/libxcb/src/xcb_in.c index 4acc3a27d..e075a4047 100644 --- a/libxcb/src/xcb_in.c +++ b/libxcb/src/xcb_in.c @@ -535,7 +535,7 @@ static xcb_generic_event_t *poll_for_next_event(xcb_connection_t *c, int queued) pthread_mutex_lock(&c->iolock); /* FIXME: follow X meets Z architecture changes. */ ret = get_event(c); - if(!ret && !queued && _xcb_in_read(c)) /* _xcb_in_read shuts down the connection on error */ + if(!ret && !queued && c->in.reading == 0 && _xcb_in_read(c)) /* _xcb_in_read shuts down the connection on error */ ret = get_event(c); pthread_mutex_unlock(&c->iolock); } |