struct xcb_get_geometry_cookie_t{ uint sequence; } struct xcb_get_geometry_reply_t{ char response_type; char depth; ushort sequence; uint length; uint root; int x; int y; ushort width; ushort height; ushort border_width; } xcb_generic_error_t* e; xcb_get_geometry_reply_t* attr = xcb_get_geometry_reply(gui.conn, xcb_get_geometry(gui.conn, id), &e);