x11rb::protocol::xproto

Function 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