diff --git a/src/xcb_io.c b/src/xcb_io.c index 300ef57..4092908 100644 --- a/src/xcb_io.c +++ b/src/xcb_io.c @@ -597,12 +597,10 @@ Status _XReply(Display *dpy, xReply *rep, int extra, Bool discard) continue; } req->reply_waiter = 1; - UnlockDisplay(dpy); response = xcb_wait_for_reply(c, req->sequence, &error); /* Any user locks on another thread must have been taken * while we slept in xcb_wait_for_reply. Classic Xlib * ignored those user locks in this case, so we do too. */ - InternalLockDisplay(dpy, /* ignore user locks */ 1); /* We have the response we're looking for. Now, before * letting anyone else process this sequence number, we