aboutsummaryrefslogtreecommitdiff
path: root/X11/Xlib-xcb.h
blob: b88e2e7a96d90ef81fc1047c1921c54175850383 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 */