}
depth = geom->depth;
- fprintf(stderr, "Root 0x%lx: %dx%dx%d\n",
- root->root.xid, geom->width, geom->height, geom->depth);
+ fprintf(stderr, "Root 0x%x: %dx%dx%d\n",
+ root->root.xid, geom->width, geom->height, geom->depth);
free(geom);
}
usleep(1000000 / FRAME_RATE);
}
+
+ return 0;
}
int lookup_window(XCBWINDOW w)