aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/x11_xcb.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/x11_xcb.c')
-rw-r--r--libX11/src/x11_xcb.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/libX11/src/x11_xcb.c b/libX11/src/x11_xcb.c
new file mode 100644
index 000000000..3ddf403b6
--- /dev/null
+++ b/libX11/src/x11_xcb.c
@@ -0,0 +1,15 @@
+/* Copyright (C) 2003,2006 Jamey Sharp, Josh Triplett
+ * This file is licensed under the MIT license. See the file COPYING. */
+
+#include "Xlibint.h"
+#include "Xxcbint.h"
+
+xcb_connection_t *XGetXCBConnection(Display *dpy)
+{
+ return dpy->xcb->connection;
+}
+
+void XSetEventQueueOwner(Display *dpy, enum XEventQueueOwner owner)
+{
+ dpy->xcb->event_owner = owner;
+}