Provide a "has error" property for XCBConnection.
[free-sw/xcb/libxcb] / src / xcbint.h
index 9048e9d..f059522 100644 (file)
@@ -142,6 +142,8 @@ void _xcb_ext_destroy(XCBConnection *c);
 /* xcb_conn.c */
 
 struct XCBConnection {
+    int has_error;
+
     /* constant data */
     XCBSetup *setup;
     int fd;