[Xcb] Re: using xcb in existing apps

Jeremy A. Kolb jkolb at brandeis.edu
Fri Mar 2 09:45:09 PST 2007

On Fri, 2 Mar 2007, Ted X Toth wrote:

> 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 Xlib 
> and XCB functions?
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg

Hi Xavier,

XCB questions should be directed to the xcb mailing list: 
xcb at lists.freedesktop.org.

You probably shouldn't be mixing xlib and xcb functions within the same 
program.  You also can't really convert types between the two without some 

There is a function XGetXCBConnection with the newer libX11 that will give 
you an xcb_connection_t but as far as I know only mesa uses it.


More information about the Xcb mailing list