x11rb::protocol::composite

Function redirect_subwindows

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

Redirect all current and future children of ‘window’.

Hierarchies starting at all current and future children of window will be redirected as in RedirectWindow. If update is Manual, then painting of the window background during window manipulation and ClearArea requests is inhibited.

§Fields

  • window - The root of the hierarchy to redirect to off-screen storage.
  • update - Whether contents are automatically mirrored to the parent window. If one client already specifies an update type of Manual, any attempt by another to specify a mode of Manual so will result in an Access error.