x11rb::protocol::ge

Function query_version

Source
pub fn query_version<Conn>(
    conn: &Conn,
    client_major_version: u16,
    client_minor_version: u16,
) -> Result<Cookie<'_, Conn, QueryVersionReply>, ConnectionError>
where Conn: RequestConnection + ?Sized,