pub fn add<Conn>(
conn: &Conn,
drawable: Drawable,
region: Region
) -> Result<VoidCookie<'_, Conn>, ConnectionError>where
Conn: RequestConnection + ?Sized,
Expand description
Add a region to 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
.