aboutsummaryrefslogtreecommitdiff
path: root/libxcb/src
diff options
context:
space:
mode:
Diffstat (limited to 'libxcb/src')
-rw-r--r--libxcb/src/xcb_in.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libxcb/src/xcb_in.c b/libxcb/src/xcb_in.c
index ad3ae1044..0f13fa014 100644
--- a/libxcb/src/xcb_in.c
+++ b/libxcb/src/xcb_in.c
@@ -217,9 +217,9 @@ static int read_packet(xcb_connection_t *c)
XCB_SEQUENCE_COMPARE(reader->request, <=, c->in.request_read);
reader = reader->next)
{
+ pthread_cond_signal(reader->data);
if(reader->request == c->in.request_read)
{
- pthread_cond_signal(reader->data);
break;
}
}