Function x11rb::protocol::composite::query_version

source ·
pub fn query_version<Conn>(
    conn: &Conn,
    client_major_version: u32,
    client_minor_version: u32
) -> Result<Cookie<'_, Conn, QueryVersionReply>, ConnectionError>
where Conn: RequestConnection + ?Sized,
Expand description

Negotiate the version of Composite.

This negotiates the version of the Composite extension. It must be precede all other requests using Composite. Failure to do so will cause a BadRequest error.

§Fields

  • client_major_version - The major version supported by the client.
  • client_minor_version - The minor version supported by the client.