[Xcb] using xcb in existing apps

Ian Osgood iano at quirkster.com
Fri Mar 2 09:45:47 PST 2007

Xavier Toth wrote:
 > I want to use xcb in an existing app is there a function that returns
 > a xcb_window_t when supplied a Window created  by XCreateWindow?
 > I probably should have asked how I can use the same connection for  
 > and XCB functions?

Call XGetXCBConnection(Display *dpy) from Xlib-xcb.h

The resulting xcb_connection_t can be used with any of the XCB  


More information about the Xcb mailing list