pub fn redirect_window<Conn>(
conn: &Conn,
window: Window,
update: Redirect,
) -> Result<VoidCookie<'_, Conn>, ConnectionError>where
Conn: RequestConnection + ?Sized,
Expand description
Redirect the hierarchy starting at “window” to off-screen storage..
The hierarchy starting at ‘window’ is directed to off-screen storage. When all clients enabling redirection terminate, the redirection will automatically be disabled.
The root window may not be redirected. Doing so results in a Match error.
§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.