summaryrefslogtreecommitdiff
path: root/lib/libxcb/src/bigreq.h
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2024-07-11 08:05:33 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2024-07-11 08:05:33 +0000
commit9da7e8edf2266881d020c509ea9a16d9584c3e59 (patch)
treeb2338e29df2b8ce782ca7d6d20306079548f34c4 /lib/libxcb/src/bigreq.h
parent741167747bb978bed04ee56cb9911a8aabb8f3d4 (diff)
Update to libxcb 1.17.0
Diffstat (limited to 'lib/libxcb/src/bigreq.h')
-rw-r--r--lib/libxcb/src/bigreq.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/libxcb/src/bigreq.h b/lib/libxcb/src/bigreq.h
index bfb9527ba..becd16de8 100644
--- a/lib/libxcb/src/bigreq.h
+++ b/lib/libxcb/src/bigreq.h
@@ -54,22 +54,30 @@ typedef struct xcb_big_requests_enable_reply_t {
} xcb_big_requests_enable_reply_t;
/**
+ * @brief Enable the BIG-REQUESTS extension
*
* @param c The connection
* @return A cookie
*
- * Delivers a request to the X server.
+ * This enables the BIG-REQUESTS extension, which allows for requests larger than
+ * 262140 bytes in length. When enabled, if the 16-bit length field is zero, it
+ * is immediately followed by a 32-bit length field specifying the length of the
+ * request in 4-byte units.
*
*/
xcb_big_requests_enable_cookie_t
xcb_big_requests_enable (xcb_connection_t *c);
/**
+ * @brief Enable the BIG-REQUESTS extension
*
* @param c The connection
* @return A cookie
*
- * Delivers a request to the X server.
+ * This enables the BIG-REQUESTS extension, which allows for requests larger than
+ * 262140 bytes in length. When enabled, if the 16-bit length field is zero, it
+ * is immediately followed by a 32-bit length field specifying the length of the
+ * request in 4-byte units.
*
* This form can be used only if the request will cause
* a reply to be generated. Any returned error will be