Does anyone know if XEvent structs have the same layout+data as xcb_*_event_t and can be used interchangeably? Unrelated: Does Xlib-xcb come with X11 usually in popular distros? I'm asking because it's missing from Ubuntu 10 even though it's an internal lib which I can't deploy myself (unlike say util/xcb-cursor).