pub fn xi_get_property<Conn, A>(
    conn: &Conn,
    deviceid: A,
    delete: bool,
    property: Atom,
    type_: Atom,
    offset: u32,
    len: u32
) -> Result<Cookie<'_, Conn, XIGetPropertyReply>, ConnectionError>
where Conn: RequestConnection + ?Sized, A: Into<DeviceId>,