jpayne@69: /* Copyright (C) 2003-2006 Jamey Sharp, Josh Triplett jpayne@69: * This file is licensed under the MIT license. See the file COPYING. */ jpayne@69: jpayne@69: #ifndef _X11_XLIB_XCB_H_ jpayne@69: #define _X11_XLIB_XCB_H_ jpayne@69: jpayne@69: #include jpayne@69: #include jpayne@69: #include jpayne@69: jpayne@69: _XFUNCPROTOBEGIN jpayne@69: jpayne@69: xcb_connection_t *XGetXCBConnection(Display *dpy); jpayne@69: jpayne@69: enum XEventQueueOwner { XlibOwnsEventQueue = 0, XCBOwnsEventQueue }; jpayne@69: void XSetEventQueueOwner(Display *dpy, enum XEventQueueOwner owner); jpayne@69: jpayne@69: _XFUNCPROTOEND jpayne@69: jpayne@69: #endif /* _X11_XLIB_XCB_H_ */