aboutsummaryrefslogtreecommitdiff
path: root/libxcb/src/xcb_in.c
diff options
context:
space:
mode:
Diffstat (limited to 'libxcb/src/xcb_in.c')
-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 c9cb5f445..1ad51e331 100644
--- a/libxcb/src/xcb_in.c
+++ b/libxcb/src/xcb_in.c
@@ -211,9 +211,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;
}
}