aboutsummaryrefslogtreecommitdiff
path: root/X11/Xlib-xcb.h
diff options
context:
space:
mode:
Diffstat (limited to 'X11/Xlib-xcb.h')
-rw-r--r--X11/Xlib-xcb.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/X11/Xlib-xcb.h b/X11/Xlib-xcb.h
new file mode 100644
index 000000000..b88e2e7a9
--- /dev/null
+++ b/X11/Xlib-xcb.h
@@ -0,0 +1,15 @@
+/* Copyright (C) 2003-2006 Jamey Sharp, Josh Triplett
+ * This file is licensed under the MIT license. See the file COPYING. */
+
+#ifndef XLIB_XCB_H
+#define XLIB_XCB_H
+
+#include <xcb/xcb.h>
+#include <X11/Xlib.h>
+
+xcb_connection_t *XGetXCBConnection(Display *dpy);
+
+enum XEventQueueOwner { XlibOwnsEventQueue = 0, XCBOwnsEventQueue };
+void XSetEventQueueOwner(Display *dpy, enum XEventQueueOwner owner);
+
+#endif /* XLIB_XCB_H */