Function x11rb::protocol::damage::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 the DAMAGE extension.

This negotiates the version of the DAMAGE extension. It must precede any other request using the DAMAGE extension. Failure to do so will cause a BadRequest error for those requests.

§Fields

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