pub fn xi_allow_events<Conn, A, B>(
    conn: &Conn,
    time: A,
    deviceid: B,
    event_mode: EventMode,
    touchid: u32,
    grab_window: Window
) -> Result<VoidCookie<'_, Conn>, ConnectionError>