pub fn xi_select_events<'c, 'input, Conn>(
    conn: &'c Conn,
    window: Window,
    masks: &'input [EventMask]
) -> Result<VoidCookie<'c, Conn>, ConnectionError>
where Conn: RequestConnection + ?Sized,