Window root;
int x, y;
unsigned int border_width, depth;
XGetGeometry(display, bitmap->drawable, &root, &x, &y,
&bitmap->width, &bitmap->height, &border_width, &depth);
Window root;
int x, y;
unsigned int border_width, depth;
XGetGeometry(display, bitmap->drawable, &root, &x, &y,
&bitmap->width, &bitmap->height, &border_width, &depth);