xcb\_composite\_redirect\_subwindows(3) XCB Requests xcb\_composite\_redirect\_subwindows(3)

# [NAME](#NAME)

xcb\_composite\_redirect\_subwindows - Redirect all current and future children of ‘window’

# [SYNOPSIS](#SYNOPSIS)

**#include &lt;xcb/composite.h&gt;**

## [Request function](#Request_function)

xcb\_void\_cookie\_t **xcb\_composite\_redirect\_subwindows**(xcb\_connection\_t \**conn*, xcb\_window\_t *window*, uint8\_t *update*);

# [REQUEST ARGUMENTS](#REQUEST_ARGUMENTS)

[*conn*](#conn)

The XCB connection to X11.

[*window*](#window)

The root of the hierarchy to redirect to off-screen storage.

[*update*](#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.

# [DESCRIPTION](#DESCRIPTION)

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.

# [RETURN VALUE](#RETURN_VALUE)

Returns an *xcb\_void\_cookie\_t*. Errors (if any) have to be handled in the event loop.

If you want to handle errors directly with *xcb\_request\_check* instead, use *xcb\_composite\_redirect\_subwindows\_checked*. See [**xcb-requests(3)**](/man/os/libxcb/xcb-requests.3) for details.

# [ERRORS](#ERRORS)

This request does never generate any errors.

# [SEE ALSO](#SEE_ALSO)

[**xcb-requests**(3)](/man/os/libxcb/xcb-requests.3)

# [AUTHOR](#AUTHOR)

Generated from composite.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.

libxcb 1.17.0 X Version 11

---

Document: xcb_composite_redirect_subwindows_checked(3) from libxcb 1.17.0-r17 (Chainguard OS)
Source: https://gitlab.freedesktop.org/xorg/lib/libxcb.git
