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
13xcb_connection_t *XGetXCBConnection(Display *dpy);
14
15enum XEventQueueOwner { XlibOwnsEventQueue = 0, XCBOwnsEventQueue };
16void XSetEventQueueOwner(Display *dpy, enum XEventQueueOwner owner);
17
18_XFUNCPROTOEND
19
20#endif /* _X11_XLIB_XCB_H_ */
21