summaryrefslogtreecommitdiff
path: root/src/xcb_conn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xcb_conn.c')
-rw-r--r--src/xcb_conn.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xcb_conn.c b/src/xcb_conn.c
index 2b24dc0..29d91f4 100644
--- a/src/xcb_conn.c
+++ b/src/xcb_conn.c
@@ -247,6 +247,11 @@ void XCBDisconnect(XCBConnection *c)
/* Private interface */
+void _xcb_conn_shutdown(XCBConnection *c)
+{
+ c->has_error = 1;
+}
+
int _xcb_conn_wait(XCBConnection *c, pthread_cond_t *cond, struct iovec **vector, int *count)
{
int ret;