Function x11rb::protocol::dbe::deallocate_back_buffer

source ·
pub fn deallocate_back_buffer<Conn>(
    conn: &Conn,
    buffer: BackBuffer
) -> Result<VoidCookie<'_, Conn>, ConnectionError>
where Conn: RequestConnection + ?Sized,
Expand description

Deallocates a back buffer.

Deallocates the given buffer. If buffer is an invalid id, a BadBuffer error is returned. Because a window may have allocated multiple back buffer ids, the back buffer itself is not deleted until all these ids are deallocated by this call.

§Fields

  • buffer - The back buffer to deallocate.