[Xcb] Deprecations in xcb-demo removed, etc

Barton C Massey bart at cs.pdx.edu
Sun Dec 11 14:46:34 PST 2005


I've systematically gone through xcb-demo and made it
conform to Jamey's new stable API.  In the process, I fixed
a bug in XCBAuxGetScreen().

One conclusion I came to as a result of that exercise was
that XCBAuxGetScreen() should be moved to XCB proper (and
renamed appropriately?)---most X programs seem to need it,
and it doesn't seem like this will change with toolkits,
etc.  Should all of xcb-utils/convenience/xcb_aux.c
(uggh---stupid CVS) be moved into core?  It's not much code,
and it would be convenient.

Also, there's a very minor error handling issue when
XCBConnect() fails; what (if anything) to report to the
user?  See some kludgy, UNIX-centric code I added to
xcbrandr.c to see what I mean.

Finally, some bugs.  On my server (X.org 6.8.2, Debian
6.8.2.dfsg.1-10), rendertest core dumps the server after a
few seconds(!).  Also, tests/lissajous 1 (shared memory)
doesn't seem to display anything for me, although 0 (normal
connection) works fine.

Thoughts?

    Bart Massey
    bart at cs.pdx.edu


More information about the Xcb mailing list