Function x11rb::protocol::damage::subtract

source ·
pub fn subtract<Conn, A, B>(
    conn: &Conn,
    damage: Damage,
    repair: A,
    parts: B
) -> Result<VoidCookie<'_, Conn>, ConnectionError>
where Conn: RequestConnection + ?Sized, A: Into<Region>, B: Into<Region>,
Expand description

Remove regions from a previously created Damage object..

This updates the regions of damage recorded in a a Damage object. See https://www.x.org/releases/current/doc/damageproto/damageproto.txt for details.

§Fields

  • damage - The ID you provided to xcb_create_damage.