pub fn subtract<Conn, A, B>(
conn: &Conn,
damage: Damage,
repair: A,
parts: B
) -> Result<VoidCookie<'_, Conn>, ConnectionError>
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 toxcb_create_damage
.