Function x11rb::protocol::damage::destroy

source ·
pub fn destroy<Conn>(
    conn: &Conn,
    damage: Damage
) -> Result<VoidCookie<'_, Conn>, ConnectionError>
where Conn: RequestConnection + ?Sized,
Expand description

Destroys a previously created Damage object..

This destroys a Damage object and requests the X server stop reporting the changes it was tracking.

§Fields

  • damage - The ID you provided to xcb_create_damage.