add

Function add 

Source
pub async 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 to xcb_create_damage.