summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xcb_in.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xcb_in.c b/src/xcb_in.c
index a084b3f..7d34429 100644
--- a/src/xcb_in.c
+++ b/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;
}
}