Function x11rb::protocol::damage::add

source ·
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 to xcb_create_damage.