[Xcb] A simple question on XCBGCFunction [SOLVED]

Josh Triplett josh at freedesktop.org
Thu May 18 11:53:29 PDT 2006


Vincent Torri wrote:
> The tutorial on my server is not up to date at all. It was the first one
> ever written. For a newer one, look in the doc/tutorial/ dir of the source
> code
> 
> I think that the deprecated message was about
> XCBConnSetupSuccessRepRootsIter
> 
> to get the screen, use this :
> 
> c = XCBConnect (display_name, &screen_num);
> screen = XCBAuxGetScreen(data.conn, screen_num);
> 
> and use the xcb aux package

Or alternatively, replace XCBConnSetupSuccessRepRootsIter with
XCBSetupRootsIter.

Also, you call XCBWaitEvent, which changed to XCBWaitForEvent;
XCBWaitEvent still works but has the deprecated attribute attached.

These various deprecated functions will all disappear with XCB 1.0.

- Josh Triplett


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20060518/84b1e5a7/signature.pgp


More information about the Xcb mailing list