Function redwm::imports::free_pixmap[][src]

pub fn free_pixmap<Conn>(
    conn: &Conn,
    pixmap: u32
) -> Result<VoidCookie<'_, Conn>, ConnectionError> where
    Conn: RequestConnection + ?Sized
Expand description

Destroys a pixmap.

Deletes the association between the pixmap ID and the pixmap. The pixmap storage will be freed when there are no more references to it.

Fields

  • pixmap - The pixmap to destroy.

Errors

  • Pixmap - The specified pixmap does not exist.