x11rb::protocol::composite

Function unredirect_window

Source
pub fn unredirect_window<Conn>(
    conn: &Conn,
    window: Window,
    update: Redirect,
) -> Result<VoidCookie<'_, Conn>, ConnectionError>
where Conn: RequestConnection + ?Sized,
Expand description

Terminate redirection of the specified window..

Redirection of the specified window will be terminated. This cannot be used if the window was redirected with RedirectSubwindows.

ยงFields

  • window - The window to terminate redirection of. Must be redirected by the current client, or a Value error results.
  • update - The update type passed to RedirectWindows. If this does not match the previously requested update type, a Value error results.