XCBRenderPOINTFIX trifans[9];
int index;
- root = XCBConnSetupSuccessRepRootsIter(XCBGetSetup(c)).data;
+ root = XCBSetupRootsIter(XCBGetSetup(c)).data;
root_drawable.window = root->root;
/* Setting query so that it will search for an 8 bit alpha surface. */
{
printf("version number: %d.%d", XCBGetSetup(c)->protocol_major_version, XCBGetSetup(c)->protocol_minor_version);
fputs("\n" "vendor string: ", stdout);
- fwrite(XCBConnSetupSuccessRepVendor(XCBGetSetup(c)), 1, XCBConnSetupSuccessRepVendorLength(XCBGetSetup(c)), stdout);
+ fwrite(XCBSetupVendor(XCBGetSetup(c)), 1, XCBSetupVendorLength(XCBGetSetup(c)), stdout);
printf("\n" "vendor release number: %d", (int) XCBGetSetup(c)->release_number);
/* "\n" "XFree86 version: %d.%d.%d.%d" */
printf("\n" "maximum request size: %d bytes", XCBGetSetup(c)->maximum_request_length * 4);
void print_formats()
{
- int i = XCBConnSetupSuccessRepPixmapFormatsLength(XCBGetSetup(c));
- XCBFORMAT *p = XCBConnSetupSuccessRepPixmapFormats(XCBGetSetup(c));
+ int i = XCBSetupPixmapFormatsLength(XCBGetSetup(c));
+ XCBFORMAT *p = XCBSetupPixmapFormats(XCBGetSetup(c));
printf("\n" "number of supported pixmap formats: %d", i);
fputs("\n" "supported pixmap formats:", stdout);
for(--i; i >= 0; --i, ++p)
XCBSCREENIter i;
int cur;
- i = XCBConnSetupSuccessRepRootsIter(XCBGetSetup(c));
+ i = XCBSetupRootsIter(XCBGetSetup(c));
printf("\n" "number of screens: %d" "\n", i.rem);
for(cur = 1; i.rem; XCBSCREENNext(&i), ++cur)
{