xcb\_shape\_rectangles(3) XCB Requests xcb\_shape\_rectangles(3)

# [NAME](#NAME)

xcb\_shape\_rectangles -

# [SYNOPSIS](#SYNOPSIS)

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

## [Request function](#Request_function)

xcb\_void\_cookie\_t **xcb\_shape\_rectangles**(xcb\_connection\_t \**conn*, xcb\_shape\_op\_t *operation*, xcb\_shape\_kind\_t *destination\_kind*, uint8\_t *ordering*, xcb\_window\_t *destination\_window*, int16\_t *x\_offset*, int16\_t *y\_offset*, uint32\_t *rectangles\_len*, const xcb\_rectangle\_t \**rectangles*);

# [REQUEST ARGUMENTS](#REQUEST_ARGUMENTS)

[*conn*](#conn)

The XCB connection to X11.

[*operation*](#operation)

TODO: NOT YET DOCUMENTED.

[*destination\_kind*](#destination_kind)

TODO: NOT YET DOCUMENTED.

[*ordering*](#ordering)

TODO: NOT YET DOCUMENTED.

[*destination\_window*](#destination_window)

TODO: NOT YET DOCUMENTED.

[*x\_offset*](#x_offset)

TODO: NOT YET DOCUMENTED.

[*y\_offset*](#y_offset)

TODO: NOT YET DOCUMENTED.

[*rectangles\_len*](#rectangles_len)

TODO: NOT YET DOCUMENTED.

[*rectangles*](#rectangles)

TODO: NOT YET DOCUMENTED.

# [DESCRIPTION](#DESCRIPTION)

# [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\_shape\_rectangles\_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)

# [AUTHOR](#AUTHOR)

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

libxcb 1.17.0 X Version 11

---

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