1 /* Copyright (C) 2003,2006 Jamey Sharp, Josh Triplett 2 * This file is licensed under the MIT license. See the file COPYING. */ 3 4 #include "Xlibint.h" 5 #include "Xxcbint.h" 6 XGetXCBConnection(Display * dpy)7xcb_connection_t *XGetXCBConnection(Display *dpy) 8 { 9 return dpy->xcb->connection; 10 } 11 XSetEventQueueOwner(Display * dpy,enum XEventQueueOwner owner)12void XSetEventQueueOwner(Display *dpy, enum XEventQueueOwner owner) 13 { 14 dpy->xcb->event_owner = owner; 15 } 16