aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/xcb_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/xcb_io.c')
-rw-r--r--libX11/src/xcb_io.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libX11/src/xcb_io.c b/libX11/src/xcb_io.c
index c702a2835..537072447 100644
--- a/libX11/src/xcb_io.c
+++ b/libX11/src/xcb_io.c
@@ -14,6 +14,8 @@
#include <string.h>
#include <sys/time.h>
+#include <X11/Xtrans/Xtrans.h>
+
static void return_socket(void *closure)
{
Display *dpy = closure;
@@ -221,7 +223,6 @@ static void process_responses(Display *dpy, int wait_for_first_event, xcb_generi
dpy->xcb->pending_requests = req->next;
if(!dpy->xcb->pending_requests)
dpy->xcb->pending_requests_tail = &dpy->xcb->pending_requests;
- xcondition_clear(&(req->condition));
free(req);
reply = error;
}