Function x11rb::protocol::xproto::unmap_window

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

Makes a window invisible.

Unmaps the specified window. This means making the window invisible (and all its child windows).

Unmapping a window leads to the UnmapNotify event being generated. Also, Expose events are generated for formerly obscured windows.

§Fields

  • window - The window to make invisible.

§Errors

  • Window - The specified window does not exist.

§See

  • UnmapNotify: event
  • Expose: event
  • MapWindow: request