1 /* Copyright (C) 2003-2006 Jamey Sharp, Josh Triplett
2  * This file is licensed under the MIT license. See the file COPYING. */
3 
4 #ifndef _X11_XLIB_XCB_H_
5 #define _X11_XLIB_XCB_H_
6 
7 #include <xcb/xcb.h>
8 #include <X11/Xlib.h>
9 #include <X11/Xfuncproto.h>
10 
11 _XFUNCPROTOBEGIN
12 
13 xcb_connection_t *XGetXCBConnection(Display *dpy);
14 
15 enum XEventQueueOwner { XlibOwnsEventQueue = 0, XCBOwnsEventQueue };
16 void XSetEventQueueOwner(Display *dpy, enum XEventQueueOwner owner);
17 
18 _XFUNCPROTOEND
19 
20 #endif /* _X11_XLIB_XCB_H_ */
21