A quick question.... Does the xcb_get_setup function return a whole pointer, or just the offset into the xcb_connect_t structure that contains the elements for the xcb_setup_t structure? -- Chris <Highjinks at gmx.com>