---
name: "xcb_composite_unredirect_subwindows_checked"
section: "3"
platform: "linux"
package: "libxcb"
version: "1.17.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/xcb_composite_unredirect_subwindows"
---

# xcb\_composite\_unredirect\_subwindows\_checked(3)

Terminate redirection of the specified window’s children

Part of [xcb\_composite\_unredirect\_subwindows(3)](/xcb_composite_unredirect_subwindows/3.md).

## NAME

xcb\_composite\_unredirect\_subwindows - Terminate redirection of the specified window’s children

## SYNOPSIS

**#include \<xcb/composite.h\>**

### Request function

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

## REQUEST ARGUMENTS

- *conn*

  The XCB connection to X11.

- *window*

  The window to terminate redirection of.  Must have previously been\
   	selected for sub-redirection by the current client, or a Value error\
   	results.

- *update*

  The update type passed to RedirectSubWindows.  If this does not match\
   	the previously requested update type, a Value error results.

## DESCRIPTION

Redirection of all children of window will be terminated.

## 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\_unredirect\_subwindows\_checked*. See **[xcb-requests(3)](/xcb-requests/3.md)** for details.

## ERRORS

This request does never generate any errors.

## SEE ALSO

[**xcb-requests**(3)](/xcb-requests/3.md)

## AUTHOR

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