[Xcb] using xcb in existing apps

Barton C Massey bart at cs.pdx.edu
Fri Mar 2 12:14:03 PST 2007


You know, we really should document some of this on the
wiki :-).  I've added
  http://xcb.freedesktop.org/wiki/MixingCalls
and folks should feel free to edit as appropriate.

	Bart

In message <327844D0-B58A-4C79-91C2-498B3B66325E at quirkster.com> you wrote:
> Questions like this could also be asked in the XCB mailing list.
> 
>  > 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?
> 
> You can use an Xlib Window anywhere an xcb_window_t is required. In  
> general, XID types like Window (X.h:typedef XID) are synonymous with  
> their XCB equivalents.
> 
> Ian
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb


More information about the Xcb mailing list