It would be handy to know what type of XEvent is being processed when looking at COGL tracing information.