diff --git a/src/xcb_in.c b/src/xcb_in.c index 58fe896..733d749 100644 --- a/src/xcb_in.c +++ b/src/xcb_in.c @@ -1051,7 +1051,7 @@ int _xcb_in_read(xcb_connection_t *c) } #endif #ifndef _WIN32 - if((n > 0) || (n < 0 && errno == EAGAIN)) + if((n > 0) || (n < 0 && (errno == EAGAIN || errno == EINTR))) #else if((n > 0) || (n < 0 && WSAGetLastError() == WSAEWOULDBLOCK)) #endif /* !_WIN32 */