Remove libpng and zlib dependencies, add copyrights
diff --git a/BUILD.md b/BUILD.md
index 79c3f2c..1bd01a5 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -16,7 +16,7 @@
 
 These packages are used for building and running the samples.
 ```
-sudo apt-get install git subversion cmake libgl1-mesa-dev freeglut3-dev libglm-dev libpng12-dev libmagickwand-dev qt5-default libpciaccess-dev libpthread-stubs0-dev libudev-dev
+sudo apt-get install git subversion cmake libgl1-mesa-dev freeglut3-dev libglm-dev libmagickwand-dev qt5-default libpciaccess-dev libpthread-stubs0-dev libudev-dev
 sudo apt-get build-dep mesa
 ```
 
diff --git a/LICENSE.txt b/LICENSE.txt
index 2b2ed99..a69308c 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -18,3 +18,158 @@
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER

 DEALINGS IN THE SOFTWARE.

 

+/*

+  Copyright (c) 2009 Dave Gamble

+

+  Permission is hereby granted, free of charge, to any person obtaining a copy

+  of this software and associated documentation files (the "Software"), to deal

+  in the Software without restriction, including without limitation the rights

+  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell

+  copies of the Software, and to permit persons to whom the Software is

+  furnished to do so, subject to the following conditions:

+

+  The above copyright notice and this permission notice shall be included in

+  all copies or substantial portions of the Software.

+

+  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR

+  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,

+  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE

+  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER

+  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,

+  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN

+  THE SOFTWARE.

+*/

+

+/*

+

+    Copyright Kevlin Henney, 1997, 2003, 2012. All rights reserved.

+

+    Permission to use, copy, modify, and distribute this software and its

+    documentation for any purpose is hereby granted without fee, provided

+    that this copyright and permissions notice appear in all copies and

+    derivatives.

+    

+    This software is supplied "as is" without express or implied warranty.

+

+    But that said, if there are any problems please get in touch.

+

+*/

+

+Copyright 2008, Google Inc.

+All rights reserved.

+

+Redistribution and use in source and binary forms, with or without

+modification, are permitted provided that the following conditions are

+met:

+

+    * Redistributions of source code must retain the above copyright

+notice, this list of conditions and the following disclaimer.

+    * Redistributions in binary form must reproduce the above

+copyright notice, this list of conditions and the following disclaimer

+in the documentation and/or other materials provided with the

+distribution.

+    * Neither the name of Google Inc. nor the names of its

+contributors may be used to endorse or promote products derived from

+this software without specific prior written permission.

+

+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS

+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT

+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR

+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT

+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,

+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT

+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY

+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT

+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE

+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+

+

+/*

+ * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.

+ * Copyright (c) 2014, Valve Software. All rights reserved.

+ * 

+ * Redistribution and use in source and binary forms, with or without

+ * modification, are permitted provided that the following conditions

+ * are met:

+ *  * Redistributions of source code must retain the above copyright

+ *    notice, this list of conditions and the following disclaimer.

+ *  * Redistributions in binary form must reproduce the above copyright

+ *    notice, this list of conditions and the following disclaimer in the

+ *    documentation and/or other materials provided with the distribution.

+ *  * Neither the name of NVIDIA CORPORATION nor the names of its

+ *    contributors may be used to endorse or promote products derived

+ *    from this software without specific prior written permission.

+ * 

+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY

+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE

+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR

+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR

+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,

+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,

+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR

+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY

+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT

+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE

+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+ */

+

+/*

+            DO WHAT THE **** YOU WANT TO PUBLIC LICENSE

+                    Version 2, December 2004

+

+ Copyright (C) 2013 Wolfgang 'datenwolf' Draxinger <code@datenwolf.net>

+

+ Everyone is permitted to copy and distribute verbatim or modified

+ copies of this license document, and changing it is allowed as long

+ as the name is changed.

+

+            DO WHAT THE **** YOU WANT TO PUBLIC LICENSE

+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

+

+  0. You just DO WHAT THE FUCK YOU WANT TO.

+*/

+

+/*

+** Copyright (c) 2014-2015 The Khronos Group Inc.

+**

+** Permission is hereby granted, free of charge, to any person obtaining a

+** copy of this software and/or associated documentation files (the

+** "Materials"), to deal in the Materials without restriction, including

+** without limitation the rights to use, copy, modify, merge, publish,

+** distribute, sublicense, and/or sell copies of the Materials, and to

+** permit persons to whom the Materials are furnished to do so, subject to

+** the following conditions:

+**

+** The above copyright notice and this permission notice shall be included

+** in all copies or substantial portions of the Materials.

+**

+** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,

+** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF

+** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.

+** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY

+** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,

+** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE

+** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.

+*/

+

+/// Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net)

+/// Permission is hereby granted, free of charge, to any person obtaining a copy

+/// of this software and associated documentation files (the "Software"), to deal

+/// in the Software without restriction, including without limitation the rights

+/// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell

+/// copies of the Software, and to permit persons to whom the Software is

+/// furnished to do so, subject to the following conditions:

+/// 

+/// The above copyright notice and this permission notice shall be included in

+/// all copies or substantial portions of the Software.

+/// 

+/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR

+/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,

+/// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE

+/// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER

+/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,

+/// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN

+/// THE SOFTWARE.

+///

+

diff --git a/include/XCB/randr.h b/include/XCB/randr.h
deleted file mode 100644
index 175b973..0000000
--- a/include/XCB/randr.h
+++ /dev/null
@@ -1,7 +0,0 @@
-#ifndef __RANDR_H
-#define __RANDR_H
-
-typedef void * xcb_randr_provider_t;
-typedef uint32_t xcb_randr_crtc_t;
-
-#endif // __RANDR_H
diff --git a/include/XCB/xcb.h b/include/XCB/xcb.h
deleted file mode 100644
index 88ed22d..0000000
--- a/include/XCB/xcb.h
+++ /dev/null
@@ -1,578 +0,0 @@
-/*
- * Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett.
- * All Rights Reserved.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
- * Except as contained in this notice, the names of the authors or their
- * institutions shall not be used in advertising or otherwise to promote the
- * sale, use or other dealings in this Software without prior written
- * authorization from the authors.
- */
-
-#ifndef __XCB_H__
-#define __XCB_H__
-#include <sys/types.h>
-
-#if defined(__solaris__)
-#include <inttypes.h>
-#else
-#include <stdint.h>
-#endif
-
-#ifndef _WIN32
-#include <sys/uio.h>
-#else
-#include "xcb_windefs.h"
-#endif
-
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * @file xcb.h
- */
-
-#define XCB_PACKED __attribute__((__packed__))
-
-/**
- * @defgroup XCB_Core_API XCB Core API
- * @brief Core API of the XCB library.
- *
- * @{
- */
-
-/* Pre-defined constants */
-
-/** Current protocol version */
-#define X_PROTOCOL 11
-
-/** Current minor version */
-#define X_PROTOCOL_REVISION 0
-
-/** X_TCP_PORT + display number = server port for TCP transport */
-#define X_TCP_PORT 6000
-
-/** xcb connection errors because of socket, pipe and other stream errors. */
-#define XCB_CONN_ERROR 1
-
-/** xcb connection shutdown because of extension not supported */
-#define XCB_CONN_CLOSED_EXT_NOTSUPPORTED 2
-
-/** malloc(), calloc() and realloc() error upon failure, for eg ENOMEM */
-#define XCB_CONN_CLOSED_MEM_INSUFFICIENT 3
-
-/** Connection closed, exceeding request length that server accepts. */
-#define XCB_CONN_CLOSED_REQ_LEN_EXCEED 4
-
-/** Connection closed, error during parsing display string. */
-#define XCB_CONN_CLOSED_PARSE_ERR 5
-
-/** Connection closed because the server does not have a screen matching the display. */
-#define XCB_CONN_CLOSED_INVALID_SCREEN 6
-
-/** Connection closed because some FD passing operation failed */
-#define XCB_CONN_CLOSED_FDPASSING_FAILED 7
-
-#define XCB_TYPE_PAD(T,I) (-(I) & (sizeof(T) > 4 ? 3 : sizeof(T) - 1))
-
-/* Opaque structures */
-
-/**
- * @brief XCB Connection structure.
- *
- * A structure that contain all data that  XCB needs to communicate with an X server.
- */
-typedef struct xcb_connection_t xcb_connection_t;  /**< Opaque structure containing all data that  XCB needs to communicate with an X server. */
-
-
-/* Other types */
-
-/**
- * @brief Generic iterator.
- *
- * A generic iterator structure.
- */
-typedef struct {
-    void *data;   /**< Data of the current iterator */
-    int rem;    /**< remaining elements */
-    int index;  /**< index of the current iterator */
-} xcb_generic_iterator_t;
-
-/**
- * @brief Generic reply.
- *
- * A generic reply structure.
- */
-typedef struct {
-    uint8_t   response_type;  /**< Type of the response */
-    uint8_t  pad0;           /**< Padding */
-    uint16_t sequence;       /**< Sequence number */
-    uint32_t length;         /**< Length of the response */
-} xcb_generic_reply_t;
-
-/**
- * @brief Generic event.
- *
- * A generic event structure.
- */
-typedef struct {
-    uint8_t   response_type;  /**< Type of the response */
-    uint8_t  pad0;           /**< Padding */
-    uint16_t sequence;       /**< Sequence number */
-    uint32_t pad[7];         /**< Padding */
-    uint32_t full_sequence;  /**< full sequence */
-} xcb_generic_event_t;
-
-/**
- * @brief GE event
- *
- * An event as sent by the XGE extension. The length field specifies the
- * number of 4-byte blocks trailing the struct.
- *
- * @deprecated Since some fields in this struct have unfortunate names, it is
- * recommended to use xcb_ge_generic_event_t instead.
- */
-typedef struct {
-    uint8_t  response_type;  /**< Type of the response */
-    uint8_t  pad0;           /**< Padding */
-    uint16_t sequence;       /**< Sequence number */
-    uint32_t length;
-    uint16_t event_type;
-    uint16_t pad1;
-    uint32_t pad[5];         /**< Padding */
-    uint32_t full_sequence;  /**< full sequence */
-} xcb_ge_event_t;
-
-/**
- * @brief Generic error.
- *
- * A generic error structure.
- */
-typedef struct {
-    uint8_t   response_type;  /**< Type of the response */
-    uint8_t   error_code;     /**< Error code */
-    uint16_t sequence;       /**< Sequence number */
-    uint32_t resource_id;     /** < Resource ID for requests with side effects only */
-    uint16_t minor_code;      /** < Minor opcode of the failed request */
-    uint8_t major_code;       /** < Major opcode of the failed request */
-    uint8_t pad0;
-    uint32_t pad[5];         /**< Padding */
-    uint32_t full_sequence;  /**< full sequence */
-} xcb_generic_error_t;
-
-/**
- * @brief Generic cookie.
- *
- * A generic cookie structure.
- */
-typedef struct {
-    unsigned int sequence;  /**< Sequence number */
-} xcb_void_cookie_t;
-
-
-/* Include the generated xproto header. */
-#include "xproto.h"
-
-
-/** XCB_NONE is the universal null resource or null atom parameter value for many core X requests */
-#define XCB_NONE 0L
-
-/** XCB_COPY_FROM_PARENT can be used for many xcb_create_window parameters */
-#define XCB_COPY_FROM_PARENT 0L
-
-/** XCB_CURRENT_TIME can be used in most requests that take an xcb_timestamp_t */
-#define XCB_CURRENT_TIME 0L
-
-/** XCB_NO_SYMBOL fills in unused entries in xcb_keysym_t tables */
-#define XCB_NO_SYMBOL 0L
-
-
-/* xcb_auth.c */
-
-/**
- * @brief Container for authorization information.
- *
- * A container for authorization information to be sent to the X server.
- */
-typedef struct xcb_auth_info_t {
-    int   namelen;  /**< Length of the string name (as returned by strlen). */
-    char *name;     /**< String containing the authentication protocol name, such as "MIT-MAGIC-COOKIE-1" or "XDM-AUTHORIZATION-1". */
-    int   datalen;  /**< Length of the data member. */
-    char *data;   /**< Data interpreted in a protocol-specific manner. */
-} xcb_auth_info_t;
-
-
-/* xcb_out.c */
-
-/**
- * @brief Forces any buffered output to be written to the server.
- * @param c: The connection to the X server.
- * @return > @c 0 on success, <= @c 0 otherwise.
- *
- * Forces any buffered output to be written to the server. Blocks
- * until the write is complete.
- */
-int xcb_flush(xcb_connection_t *c);
-
-/**
- * @brief Returns the maximum request length that this server accepts.
- * @param c: The connection to the X server.
- * @return The maximum request length field.
- *
- * In the absence of the BIG-REQUESTS extension, returns the
- * maximum request length field from the connection setup data, which
- * may be as much as 65535. If the server supports BIG-REQUESTS, then
- * the maximum request length field from the reply to the
- * BigRequestsEnable request will be returned instead.
- *
- * Note that this length is measured in four-byte units, making the
- * theoretical maximum lengths roughly 256kB without BIG-REQUESTS and
- * 16GB with.
- */
-uint32_t xcb_get_maximum_request_length(xcb_connection_t *c);
-
-/**
- * @brief Prefetch the maximum request length without blocking.
- * @param c: The connection to the X server.
- *
- * Without blocking, does as much work as possible toward computing
- * the maximum request length accepted by the X server.
- *
- * Invoking this function may cause a call to xcb_big_requests_enable,
- * but will not block waiting for the reply.
- * xcb_get_maximum_request_length will return the prefetched data
- * after possibly blocking while the reply is retrieved.
- *
- * Note that in order for this function to be fully non-blocking, the
- * application must previously have called
- * xcb_prefetch_extension_data(c, &xcb_big_requests_id) and the reply
- * must have already arrived.
- */
-void xcb_prefetch_maximum_request_length(xcb_connection_t *c);
-
-
-/* xcb_in.c */
-
-/**
- * @brief Returns the next event or error from the server.
- * @param c: The connection to the X server.
- * @return The next event from the server.
- *
- * Returns the next event or error from the server, or returns null in
- * the event of an I/O error. Blocks until either an event or error
- * arrive, or an I/O error occurs.
- */
-xcb_generic_event_t *xcb_wait_for_event(xcb_connection_t *c);
-
-/**
- * @brief Returns the next event or error from the server.
- * @param c: The connection to the X server.
- * @return The next event from the server.
- *
- * Returns the next event or error from the server, if one is
- * available, or returns @c NULL otherwise. If no event is available, that
- * might be because an I/O error like connection close occurred while
- * attempting to read the next event, in which case the connection is
- * shut down when this function returns.
- */
-xcb_generic_event_t *xcb_poll_for_event(xcb_connection_t *c);
-
-/**
- * @brief Returns the next event without reading from the connection.
- * @param c: The connection to the X server.
- * @return The next already queued event from the server.
- *
- * This is a version of xcb_poll_for_event that only examines the
- * event queue for new events. The function doesn't try to read new
- * events from the connection if no queued events are found.
- *
- * This function is useful for callers that know in advance that all
- * interesting events have already been read from the connection. For
- * example, callers might use xcb_wait_for_reply and be interested
- * only of events that preceded a specific reply.
- */
-xcb_generic_event_t *xcb_poll_for_queued_event(xcb_connection_t *c);
-
-typedef struct xcb_special_event xcb_special_event_t;
-
-/**
- * @brief Returns the next event from a special queue
- */
-xcb_generic_event_t *xcb_poll_for_special_event(xcb_connection_t *c,
-                                                xcb_special_event_t *se);
-
-/**
- * @brief Returns the next event from a special queue, blocking until one arrives
- */
-xcb_generic_event_t *xcb_wait_for_special_event(xcb_connection_t *c,
-                                                xcb_special_event_t *se);
-/**
- * @typedef typedef struct xcb_extension_t xcb_extension_t
- */
-typedef struct xcb_extension_t xcb_extension_t;  /**< Opaque structure used as key for xcb_get_extension_data_t. */
-
-/**
- * @brief Listen for a special event
- */
-xcb_special_event_t *xcb_register_for_special_xge(xcb_connection_t *c,
-                                                  xcb_extension_t *ext,
-                                                  uint32_t eid,
-                                                  uint32_t *stamp);
-
-/**
- * @brief Stop listening for a special event
- */
-void xcb_unregister_for_special_event(xcb_connection_t *c,
-                                      xcb_special_event_t *se);
-
-/**
- * @brief Return the error for a request, or NULL if none can ever arrive.
- * @param c: The connection to the X server.
- * @param cookie: The request cookie.
- * @return The error for the request, or NULL if none can ever arrive.
- *
- * The xcb_void_cookie_t cookie supplied to this function must have resulted
- * from a call to xcb_[request_name]_checked().  This function will block
- * until one of two conditions happens.  If an error is received, it will be
- * returned.  If a reply to a subsequent request has already arrived, no error
- * can arrive for this request, so this function will return NULL.
- *
- * Note that this function will perform a sync if needed to ensure that the
- * sequence number will advance beyond that provided in cookie; this is a
- * convenience to avoid races in determining whether the sync is needed.
- */
-xcb_generic_error_t *xcb_request_check(xcb_connection_t *c, xcb_void_cookie_t cookie);
-
-/**
- * @brief Discards the reply for a request.
- * @param c: The connection to the X server.
- * @param sequence: The request sequence number from a cookie.
- *
- * Discards the reply for a request. Additionally, any error generated
- * by the request is also discarded (unless it was an _unchecked request
- * and the error has already arrived).
- *
- * This function will not block even if the reply is not yet available.
- *
- * Note that the sequence really does have to come from an xcb cookie;
- * this function is not designed to operate on socket-handoff replies.
- */
-void xcb_discard_reply(xcb_connection_t *c, unsigned int sequence);
-
-
-/* xcb_ext.c */
-
-/**
- * @brief Caches reply information from QueryExtension requests.
- * @param c: The connection.
- * @param ext: The extension data.
- * @return A pointer to the xcb_query_extension_reply_t for the extension.
- *
- * This function is the primary interface to the "extension cache",
- * which caches reply information from QueryExtension
- * requests. Invoking this function may cause a call to
- * xcb_query_extension to retrieve extension information from the
- * server, and may block until extension data is received from the
- * server.
- *
- * The result must not be freed. This storage is managed by the cache
- * itself.
- */
-const struct xcb_query_extension_reply_t *xcb_get_extension_data(xcb_connection_t *c, xcb_extension_t *ext);
-
-/**
- * @brief Prefetch of extension data into the extension cache
- * @param c: The connection.
- * @param ext: The extension data.
- *
- * This function allows a "prefetch" of extension data into the
- * extension cache. Invoking the function may cause a call to
- * xcb_query_extension, but will not block waiting for the
- * reply. xcb_get_extension_data will return the prefetched data after
- * possibly blocking while it is retrieved.
- */
-void xcb_prefetch_extension_data(xcb_connection_t *c, xcb_extension_t *ext);
-
-
-/* xcb_conn.c */
-
-/**
- * @brief Access the data returned by the server.
- * @param c: The connection.
- * @return A pointer to an xcb_setup_t structure.
- *
- * Accessor for the data returned by the server when the xcb_connection_t
- * was initialized. This data includes
- * - the server's required format for images,
- * - a list of available visuals,
- * - a list of available screens,
- * - the server's maximum request length (in the absence of the
- * BIG-REQUESTS extension),
- * - and other assorted information.
- *
- * See the X protocol specification for more details.
- *
- * The result must not be freed.
- */
-const struct xcb_setup_t *xcb_get_setup(xcb_connection_t *c);
-
-/**
- * @brief Access the file descriptor of the connection.
- * @param c: The connection.
- * @return The file descriptor.
- *
- * Accessor for the file descriptor that was passed to the
- * xcb_connect_to_fd call that returned @p c.
- */
-int xcb_get_file_descriptor(xcb_connection_t *c);
-
-/**
- * @brief Test whether the connection has shut down due to a fatal error.
- * @param c: The connection.
- * @return > 0 if the connection is in an error state; 0 otherwise.
- *
- * Some errors that occur in the context of an xcb_connection_t
- * are unrecoverable. When such an error occurs, the
- * connection is shut down and further operations on the
- * xcb_connection_t have no effect, but memory will not be freed until
- * xcb_disconnect() is called on the xcb_connection_t.
- *
- * @return XCB_CONN_ERROR, because of socket errors, pipe errors or other stream errors.
- * @return XCB_CONN_CLOSED_EXT_NOTSUPPORTED, when extension not supported.
- * @return XCB_CONN_CLOSED_MEM_INSUFFICIENT, when memory not available.
- * @return XCB_CONN_CLOSED_REQ_LEN_EXCEED, exceeding request length that server accepts.
- * @return XCB_CONN_CLOSED_PARSE_ERR, error during parsing display string.
- * @return XCB_CONN_CLOSED_INVALID_SCREEN, because the server does not have a screen matching the display.
- */
-int xcb_connection_has_error(xcb_connection_t *c);
-
-/**
- * @brief Connects to the X server.
- * @param fd: The file descriptor.
- * @param auth_info: Authentication data.
- * @return A newly allocated xcb_connection_t structure.
- *
- * Connects to an X server, given the open socket @p fd and the
- * xcb_auth_info_t @p auth_info. The file descriptor @p fd is
- * bidirectionally connected to an X server. If the connection
- * should be unauthenticated, @p auth_info must be @c
- * NULL.
- *
- * Always returns a non-NULL pointer to a xcb_connection_t, even on failure.
- * Callers need to use xcb_connection_has_error() to check for failure.
- * When finished, use xcb_disconnect() to close the connection and free
- * the structure.
- */
-xcb_connection_t *xcb_connect_to_fd(int fd, xcb_auth_info_t *auth_info);
-
-/**
- * @brief Closes the connection.
- * @param c: The connection.
- *
- * Closes the file descriptor and frees all memory associated with the
- * connection @c c. If @p c is @c NULL, nothing is done.
- */
-void xcb_disconnect(xcb_connection_t *c);
-
-
-/* xcb_util.c */
-
-/**
- * @brief Parses a display string name in the form documented by X(7x).
- * @param name: The name of the display.
- * @param host: A pointer to a malloc'd copy of the hostname.
- * @param display: A pointer to the display number.
- * @param screen: A pointer to the screen number.
- * @return 0 on failure, non 0 otherwise.
- *
- * Parses the display string name @p display_name in the form
- * documented by X(7x). Has no side effects on failure. If
- * @p displayname is @c NULL or empty, it uses the environment
- * variable DISPLAY. @p hostp is a pointer to a newly allocated string
- * that contain the host name. @p displayp is set to the display
- * number and @p screenp to the preferred screen number. @p screenp
- * can be @c NULL. If @p displayname does not contain a screen number,
- * it is set to @c 0.
- */
-int xcb_parse_display(const char *name, char **host, int *display, int *screen);
-
-/**
- * @brief Connects to the X server.
- * @param displayname: The name of the display.
- * @param screenp: A pointer to a preferred screen number.
- * @return A newly allocated xcb_connection_t structure.
- *
- * Connects to the X server specified by @p displayname. If @p
- * displayname is @c NULL, uses the value of the DISPLAY environment
- * variable. If a particular screen on that server is preferred, the
- * int pointed to by @p screenp (if not @c NULL) will be set to that
- * screen; otherwise the screen will be set to 0.
- *
- * Always returns a non-NULL pointer to a xcb_connection_t, even on failure.
- * Callers need to use xcb_connection_has_error() to check for failure.
- * When finished, use xcb_disconnect() to close the connection and free
- * the structure.
- */
-xcb_connection_t *xcb_connect(const char *displayname, int *screenp);
-
-/**
- * @brief Connects to the X server, using an authorization information.
- * @param display: The name of the display.
- * @param auth: The authorization information.
- * @param screen: A pointer to a preferred screen number.
- * @return A newly allocated xcb_connection_t structure.
- *
- * Connects to the X server specified by @p displayname, using the
- * authorization @p auth. If a particular screen on that server is
- * preferred, the int pointed to by @p screenp (if not @c NULL) will
- * be set to that screen; otherwise @p screenp will be set to 0.
- *
- * Always returns a non-NULL pointer to a xcb_connection_t, even on failure.
- * Callers need to use xcb_connection_has_error() to check for failure.
- * When finished, use xcb_disconnect() to close the connection and free
- * the structure.
- */
-xcb_connection_t *xcb_connect_to_display_with_auth_info(const char *display, xcb_auth_info_t *auth, int *screen);
-
-
-/* xcb_xid.c */
-
-/**
- * @brief Allocates an XID for a new object.
- * @param c: The connection.
- * @return A newly allocated XID.
- *
- * Allocates an XID for a new object. Typically used just prior to
- * various object creation functions, such as xcb_create_window.
- */
-uint32_t xcb_generate_id(xcb_connection_t *c);
-
-
-/**
- * @}
- */
-
-#ifdef __cplusplus
-}
-#endif
-
-
-#endif /* __XCB_H__ */
diff --git a/include/XCB/xcb_windefs.h b/include/XCB/xcb_windefs.h
deleted file mode 100644
index 3f5c4b0..0000000
--- a/include/XCB/xcb_windefs.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/* Copyright (C) 2009 Jatin Golani.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- * 
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- * 
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- * 
- * Except as contained in this notice, the names of the authors or their
- * institutions shall not be used in advertising or otherwise to promote the
- * sale, use or other dealings in this Software without prior written
- * authorization from the authors.
- */
-
-
-#ifndef _XCB_WINDEFS_H
-#define _XCB_WINDEFS_H
-
-#ifndef WINVER
-#define WINVER 0x0501 /* required for getaddrinfo/freeaddrinfo defined only for WinXP and above */
-#endif
-
-#define VC_EXTRALEAN
-#include <winsock2.h>
-#include <ws2tcpip.h>
-#include <windef.h>
-
-struct iovec  {
-    void *iov_base;    /* Pointer to data.  */
-    int iov_len;       /* Length of data.  */
-};
-
-typedef unsigned int in_addr_t;
-
-#endif /* xcb_windefs.h */
diff --git a/include/XCB/xproto.h b/include/XCB/xproto.h
deleted file mode 100644
index aafb958..0000000
--- a/include/XCB/xproto.h
+++ /dev/null
@@ -1,5783 +0,0 @@
-/*
- * This file generated automatically from xproto.xml by c_client.py.
- * Edit at your peril.
- */
-
-#ifndef __XPROTO_H
-#define __XPROTO_H
-
-#include "xcb.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-typedef struct xcb_char2b_t {
-    uint8_t byte1; 
-    uint8_t byte2; 
-} xcb_char2b_t;
-
-typedef struct xcb_char2b_iterator_t {
-    xcb_char2b_t *data; 
-    int           rem; 
-    int           index; 
-} xcb_char2b_iterator_t;
-
-typedef uint32_t xcb_window_t;
-
-typedef struct xcb_window_iterator_t {
-    xcb_window_t *data; 
-    int           rem; 
-    int           index; 
-} xcb_window_iterator_t;
-
-typedef uint32_t xcb_pixmap_t;
-
-typedef struct xcb_pixmap_iterator_t {
-    xcb_pixmap_t *data; 
-    int           rem; 
-    int           index; 
-} xcb_pixmap_iterator_t;
-
-typedef uint32_t xcb_cursor_t;
-
-typedef struct xcb_cursor_iterator_t {
-    xcb_cursor_t *data; 
-    int           rem; 
-    int           index; 
-} xcb_cursor_iterator_t;
-
-typedef uint32_t xcb_font_t;
-
-typedef struct xcb_font_iterator_t {
-    xcb_font_t *data; 
-    int         rem; 
-    int         index; 
-} xcb_font_iterator_t;
-
-typedef uint32_t xcb_gcontext_t;
-
-typedef struct xcb_gcontext_iterator_t {
-    xcb_gcontext_t *data; 
-    int             rem; 
-    int             index; 
-} xcb_gcontext_iterator_t;
-
-typedef uint32_t xcb_colormap_t;
-
-typedef struct xcb_colormap_iterator_t {
-    xcb_colormap_t *data; 
-    int             rem; 
-    int             index; 
-} xcb_colormap_iterator_t;
-
-typedef uint32_t xcb_atom_t;
-
-typedef struct xcb_atom_iterator_t {
-    xcb_atom_t *data; 
-    int         rem; 
-    int         index; 
-} xcb_atom_iterator_t;
-
-typedef uint32_t xcb_drawable_t;
-
-typedef struct xcb_drawable_iterator_t {
-    xcb_drawable_t *data; 
-    int             rem; 
-    int             index; 
-} xcb_drawable_iterator_t;
-
-typedef uint32_t xcb_fontable_t;
-
-typedef struct xcb_fontable_iterator_t {
-    xcb_fontable_t *data; 
-    int             rem; 
-    int             index; 
-} xcb_fontable_iterator_t;
-
-typedef uint32_t xcb_visualid_t;
-
-typedef struct xcb_visualid_iterator_t {
-    xcb_visualid_t *data; 
-    int             rem; 
-    int             index; 
-} xcb_visualid_iterator_t;
-
-typedef uint32_t xcb_timestamp_t;
-
-typedef struct xcb_timestamp_iterator_t {
-    xcb_timestamp_t *data; 
-    int              rem; 
-    int              index; 
-} xcb_timestamp_iterator_t;
-
-typedef uint32_t xcb_keysym_t;
-
-typedef struct xcb_keysym_iterator_t {
-    xcb_keysym_t *data; 
-    int           rem; 
-    int           index; 
-} xcb_keysym_iterator_t;
-
-typedef uint8_t xcb_keycode_t;
-
-typedef struct xcb_keycode_iterator_t {
-    xcb_keycode_t *data; 
-    int            rem; 
-    int            index; 
-} xcb_keycode_iterator_t;
-
-typedef uint8_t xcb_button_t;
-
-typedef struct xcb_button_iterator_t {
-    xcb_button_t *data; 
-    int           rem; 
-    int           index; 
-} xcb_button_iterator_t;
-
-typedef struct xcb_point_t {
-    int16_t x; 
-    int16_t y; 
-} xcb_point_t;
-
-typedef struct xcb_point_iterator_t {
-    xcb_point_t *data; 
-    int          rem; 
-    int          index; 
-} xcb_point_iterator_t;
-
-typedef struct xcb_rectangle_t {
-    int16_t  x; 
-    int16_t  y; 
-    uint16_t width; 
-    uint16_t height; 
-} xcb_rectangle_t;
-
-typedef struct xcb_rectangle_iterator_t {
-    xcb_rectangle_t *data; 
-    int              rem; 
-    int              index; 
-} xcb_rectangle_iterator_t;
-
-typedef struct xcb_arc_t {
-    int16_t  x; 
-    int16_t  y; 
-    uint16_t width; 
-    uint16_t height; 
-    int16_t  angle1; 
-    int16_t  angle2; 
-} xcb_arc_t;
-
-typedef struct xcb_arc_iterator_t {
-    xcb_arc_t *data; 
-    int        rem; 
-    int        index; 
-} xcb_arc_iterator_t;
-
-typedef struct xcb_format_t {
-    uint8_t depth; 
-    uint8_t bits_per_pixel; 
-    uint8_t scanline_pad; 
-    uint8_t pad0[5]; 
-} xcb_format_t;
-
-typedef struct xcb_format_iterator_t {
-    xcb_format_t *data; 
-    int           rem; 
-    int           index; 
-} xcb_format_iterator_t;
-
-typedef enum xcb_visual_class_t {
-    XCB_VISUAL_CLASS_STATIC_GRAY = 0,
-    XCB_VISUAL_CLASS_GRAY_SCALE = 1,
-    XCB_VISUAL_CLASS_STATIC_COLOR = 2,
-    XCB_VISUAL_CLASS_PSEUDO_COLOR = 3,
-    XCB_VISUAL_CLASS_TRUE_COLOR = 4,
-    XCB_VISUAL_CLASS_DIRECT_COLOR = 5
-} xcb_visual_class_t;
-
-typedef struct xcb_visualtype_t {
-    xcb_visualid_t visual_id; 
-    uint8_t        _class; 
-    uint8_t        bits_per_rgb_value; 
-    uint16_t       colormap_entries; 
-    uint32_t       red_mask; 
-    uint32_t       green_mask; 
-    uint32_t       blue_mask; 
-    uint8_t        pad0[4]; 
-} xcb_visualtype_t;
-
-typedef struct xcb_visualtype_iterator_t {
-    xcb_visualtype_t *data; 
-    int               rem; 
-    int               index; 
-} xcb_visualtype_iterator_t;
-
-typedef struct xcb_depth_t {
-    uint8_t  depth; 
-    uint8_t  pad0; 
-    uint16_t visuals_len; 
-    uint8_t  pad1[4]; 
-} xcb_depth_t;
-
-typedef struct xcb_depth_iterator_t {
-    xcb_depth_t *data; 
-    int          rem; 
-    int          index; 
-} xcb_depth_iterator_t;
-
-typedef enum xcb_event_mask_t {
-    XCB_EVENT_MASK_NO_EVENT = 0,
-    XCB_EVENT_MASK_KEY_PRESS = 1,
-    XCB_EVENT_MASK_KEY_RELEASE = 2,
-    XCB_EVENT_MASK_BUTTON_PRESS = 4,
-    XCB_EVENT_MASK_BUTTON_RELEASE = 8,
-    XCB_EVENT_MASK_ENTER_WINDOW = 16,
-    XCB_EVENT_MASK_LEAVE_WINDOW = 32,
-    XCB_EVENT_MASK_POINTER_MOTION = 64,
-    XCB_EVENT_MASK_POINTER_MOTION_HINT = 128,
-    XCB_EVENT_MASK_BUTTON_1_MOTION = 256,
-    XCB_EVENT_MASK_BUTTON_2_MOTION = 512,
-    XCB_EVENT_MASK_BUTTON_3_MOTION = 1024,
-    XCB_EVENT_MASK_BUTTON_4_MOTION = 2048,
-    XCB_EVENT_MASK_BUTTON_5_MOTION = 4096,
-    XCB_EVENT_MASK_BUTTON_MOTION = 8192,
-    XCB_EVENT_MASK_KEYMAP_STATE = 16384,
-    XCB_EVENT_MASK_EXPOSURE = 32768,
-    XCB_EVENT_MASK_VISIBILITY_CHANGE = 65536,
-    XCB_EVENT_MASK_STRUCTURE_NOTIFY = 131072,
-    XCB_EVENT_MASK_RESIZE_REDIRECT = 262144,
-    XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY = 524288,
-    XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT = 1048576,
-    XCB_EVENT_MASK_FOCUS_CHANGE = 2097152,
-    XCB_EVENT_MASK_PROPERTY_CHANGE = 4194304,
-    XCB_EVENT_MASK_COLOR_MAP_CHANGE = 8388608,
-    XCB_EVENT_MASK_OWNER_GRAB_BUTTON = 16777216
-} xcb_event_mask_t;
-
-typedef enum xcb_backing_store_t {
-    XCB_BACKING_STORE_NOT_USEFUL = 0,
-    XCB_BACKING_STORE_WHEN_MAPPED = 1,
-    XCB_BACKING_STORE_ALWAYS = 2
-} xcb_backing_store_t;
-
-typedef struct xcb_screen_t {
-    xcb_window_t   root; 
-    xcb_colormap_t default_colormap; 
-    uint32_t       white_pixel; 
-    uint32_t       black_pixel; 
-    uint32_t       current_input_masks; 
-    uint16_t       width_in_pixels; 
-    uint16_t       height_in_pixels; 
-    uint16_t       width_in_millimeters; 
-    uint16_t       height_in_millimeters; 
-    uint16_t       min_installed_maps; 
-    uint16_t       max_installed_maps; 
-    xcb_visualid_t root_visual; 
-    uint8_t        backing_stores; 
-    uint8_t        save_unders; 
-    uint8_t        root_depth; 
-    uint8_t        allowed_depths_len; 
-} xcb_screen_t;
-
-typedef struct xcb_screen_iterator_t {
-    xcb_screen_t *data; 
-    int           rem; 
-    int           index; 
-} xcb_screen_iterator_t;
-
-typedef struct xcb_setup_request_t {
-    uint8_t  byte_order; 
-    uint8_t  pad0; 
-    uint16_t protocol_major_version; 
-    uint16_t protocol_minor_version; 
-    uint16_t authorization_protocol_name_len; 
-    uint16_t authorization_protocol_data_len; 
-    uint8_t  pad1[2]; 
-} xcb_setup_request_t;
-
-typedef struct xcb_setup_request_iterator_t {
-    xcb_setup_request_t *data; 
-    int                  rem; 
-    int                  index; 
-} xcb_setup_request_iterator_t;
-
-typedef struct xcb_setup_failed_t {
-    uint8_t  status; 
-    uint8_t  reason_len; 
-    uint16_t protocol_major_version; 
-    uint16_t protocol_minor_version; 
-    uint16_t length; 
-} xcb_setup_failed_t;
-
-typedef struct xcb_setup_failed_iterator_t {
-    xcb_setup_failed_t *data; 
-    int                 rem; 
-    int                 index; 
-} xcb_setup_failed_iterator_t;
-
-typedef struct xcb_setup_authenticate_t {
-    uint8_t  status; 
-    uint8_t  pad0[5]; 
-    uint16_t length; 
-} xcb_setup_authenticate_t;
-
-typedef struct xcb_setup_authenticate_iterator_t {
-    xcb_setup_authenticate_t *data; 
-    int                       rem; 
-    int                       index; 
-} xcb_setup_authenticate_iterator_t;
-
-typedef enum xcb_image_order_t {
-    XCB_IMAGE_ORDER_LSB_FIRST = 0,
-    XCB_IMAGE_ORDER_MSB_FIRST = 1
-} xcb_image_order_t;
-
-typedef struct xcb_setup_t {
-    uint8_t       status; 
-    uint8_t       pad0; 
-    uint16_t      protocol_major_version; 
-    uint16_t      protocol_minor_version; 
-    uint16_t      length; 
-    uint32_t      release_number; 
-    uint32_t      resource_id_base; 
-    uint32_t      resource_id_mask; 
-    uint32_t      motion_buffer_size; 
-    uint16_t      vendor_len; 
-    uint16_t      maximum_request_length; 
-    uint8_t       roots_len; 
-    uint8_t       pixmap_formats_len; 
-    uint8_t       image_byte_order; 
-    uint8_t       bitmap_format_bit_order; 
-    uint8_t       bitmap_format_scanline_unit; 
-    uint8_t       bitmap_format_scanline_pad; 
-    xcb_keycode_t min_keycode; 
-    xcb_keycode_t max_keycode; 
-    uint8_t       pad1[4]; 
-} xcb_setup_t;
-
-typedef struct xcb_setup_iterator_t {
-    xcb_setup_t *data; 
-    int          rem; 
-    int          index; 
-} xcb_setup_iterator_t;
-
-typedef enum xcb_mod_mask_t {
-    XCB_MOD_MASK_SHIFT = 1,
-    XCB_MOD_MASK_LOCK = 2,
-    XCB_MOD_MASK_CONTROL = 4,
-    XCB_MOD_MASK_1 = 8,
-    XCB_MOD_MASK_2 = 16,
-    XCB_MOD_MASK_3 = 32,
-    XCB_MOD_MASK_4 = 64,
-    XCB_MOD_MASK_5 = 128,
-    XCB_MOD_MASK_ANY = 32768
-} xcb_mod_mask_t;
-
-typedef enum xcb_key_but_mask_t {
-    XCB_KEY_BUT_MASK_SHIFT = 1,
-    XCB_KEY_BUT_MASK_LOCK = 2,
-    XCB_KEY_BUT_MASK_CONTROL = 4,
-    XCB_KEY_BUT_MASK_MOD_1 = 8,
-    XCB_KEY_BUT_MASK_MOD_2 = 16,
-    XCB_KEY_BUT_MASK_MOD_3 = 32,
-    XCB_KEY_BUT_MASK_MOD_4 = 64,
-    XCB_KEY_BUT_MASK_MOD_5 = 128,
-    XCB_KEY_BUT_MASK_BUTTON_1 = 256,
-    XCB_KEY_BUT_MASK_BUTTON_2 = 512,
-    XCB_KEY_BUT_MASK_BUTTON_3 = 1024,
-    XCB_KEY_BUT_MASK_BUTTON_4 = 2048,
-    XCB_KEY_BUT_MASK_BUTTON_5 = 4096
-} xcb_key_but_mask_t;
-
-typedef enum xcb_window_enum_t {
-    XCB_WINDOW_NONE = 0
-} xcb_window_enum_t;
-
-#define XCB_KEY_PRESS 2
-
-typedef struct xcb_key_press_event_t {
-    uint8_t         response_type; 
-    xcb_keycode_t   detail; 
-    uint16_t        sequence; 
-    xcb_timestamp_t time; 
-    xcb_window_t    root; 
-    xcb_window_t    event; 
-    xcb_window_t    child; 
-    int16_t         root_x; 
-    int16_t         root_y; 
-    int16_t         event_x; 
-    int16_t         event_y; 
-    uint16_t        state; 
-    uint8_t         same_screen; 
-    uint8_t         pad0; 
-} xcb_key_press_event_t;
-
-#define XCB_KEY_RELEASE 3
-
-typedef xcb_key_press_event_t xcb_key_release_event_t;
-
-typedef enum xcb_button_mask_t {
-    XCB_BUTTON_MASK_1 = 256,
-    XCB_BUTTON_MASK_2 = 512,
-    XCB_BUTTON_MASK_3 = 1024,
-    XCB_BUTTON_MASK_4 = 2048,
-    XCB_BUTTON_MASK_5 = 4096,
-    XCB_BUTTON_MASK_ANY = 32768
-} xcb_button_mask_t;
-
-#define XCB_BUTTON_PRESS 4
-
-typedef struct xcb_button_press_event_t {
-    uint8_t         response_type; 
-    xcb_button_t    detail; 
-    uint16_t        sequence; 
-    xcb_timestamp_t time; 
-    xcb_window_t    root; 
-    xcb_window_t    event; 
-    xcb_window_t    child; 
-    int16_t         root_x; 
-    int16_t         root_y; 
-    int16_t         event_x; 
-    int16_t         event_y; 
-    uint16_t        state; 
-    uint8_t         same_screen; 
-    uint8_t         pad0; 
-} xcb_button_press_event_t;
-
-#define XCB_BUTTON_RELEASE 5
-
-typedef xcb_button_press_event_t xcb_button_release_event_t;
-
-typedef enum xcb_motion_t {
-    XCB_MOTION_NORMAL = 0,
-    XCB_MOTION_HINT = 1
-} xcb_motion_t;
-
-#define XCB_MOTION_NOTIFY 6
-
-typedef struct xcb_motion_notify_event_t {
-    uint8_t         response_type; 
-    uint8_t         detail; 
-    uint16_t        sequence; 
-    xcb_timestamp_t time; 
-    xcb_window_t    root; 
-    xcb_window_t    event; 
-    xcb_window_t    child; 
-    int16_t         root_x; 
-    int16_t         root_y; 
-    int16_t         event_x; 
-    int16_t         event_y; 
-    uint16_t        state; 
-    uint8_t         same_screen; 
-    uint8_t         pad0; 
-} xcb_motion_notify_event_t;
-
-typedef enum xcb_notify_detail_t {
-    XCB_NOTIFY_DETAIL_ANCESTOR = 0,
-    XCB_NOTIFY_DETAIL_VIRTUAL = 1,
-    XCB_NOTIFY_DETAIL_INFERIOR = 2,
-    XCB_NOTIFY_DETAIL_NONLINEAR = 3,
-    XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL = 4,
-    XCB_NOTIFY_DETAIL_POINTER = 5,
-    XCB_NOTIFY_DETAIL_POINTER_ROOT = 6,
-    XCB_NOTIFY_DETAIL_NONE = 7
-} xcb_notify_detail_t;
-
-typedef enum xcb_notify_mode_t {
-    XCB_NOTIFY_MODE_NORMAL = 0,
-    XCB_NOTIFY_MODE_GRAB = 1,
-    XCB_NOTIFY_MODE_UNGRAB = 2,
-    XCB_NOTIFY_MODE_WHILE_GRABBED = 3
-} xcb_notify_mode_t;
-
-#define XCB_ENTER_NOTIFY 7
-
-typedef struct xcb_enter_notify_event_t {
-    uint8_t         response_type; 
-    uint8_t         detail; 
-    uint16_t        sequence; 
-    xcb_timestamp_t time; 
-    xcb_window_t    root; 
-    xcb_window_t    event; 
-    xcb_window_t    child; 
-    int16_t         root_x; 
-    int16_t         root_y; 
-    int16_t         event_x; 
-    int16_t         event_y; 
-    uint16_t        state; 
-    uint8_t         mode; 
-    uint8_t         same_screen_focus; 
-} xcb_enter_notify_event_t;
-
-#define XCB_LEAVE_NOTIFY 8
-
-typedef xcb_enter_notify_event_t xcb_leave_notify_event_t;
-
-#define XCB_FOCUS_IN 9
-
-typedef struct xcb_focus_in_event_t {
-    uint8_t      response_type; 
-    uint8_t      detail; 
-    uint16_t     sequence; 
-    xcb_window_t event; 
-    uint8_t      mode; 
-    uint8_t      pad0[3]; 
-} xcb_focus_in_event_t;
-
-#define XCB_FOCUS_OUT 10
-
-typedef xcb_focus_in_event_t xcb_focus_out_event_t;
-
-#define XCB_KEYMAP_NOTIFY 11
-
-typedef struct xcb_keymap_notify_event_t {
-    uint8_t response_type; 
-    uint8_t keys[31]; 
-} xcb_keymap_notify_event_t;
-
-#define XCB_EXPOSE 12
-
-typedef struct xcb_expose_event_t {
-    uint8_t      response_type; 
-    uint8_t      pad0; 
-    uint16_t     sequence; 
-    xcb_window_t window; 
-    uint16_t     x; 
-    uint16_t     y; 
-    uint16_t     width; 
-    uint16_t     height; 
-    uint16_t     count; 
-    uint8_t      pad1[2]; 
-} xcb_expose_event_t;
-
-#define XCB_GRAPHICS_EXPOSURE 13
-
-typedef struct xcb_graphics_exposure_event_t {
-    uint8_t        response_type; 
-    uint8_t        pad0; 
-    uint16_t       sequence; 
-    xcb_drawable_t drawable; 
-    uint16_t       x; 
-    uint16_t       y; 
-    uint16_t       width; 
-    uint16_t       height; 
-    uint16_t       minor_opcode; 
-    uint16_t       count; 
-    uint8_t        major_opcode; 
-    uint8_t        pad1[3]; 
-} xcb_graphics_exposure_event_t;
-
-#define XCB_NO_EXPOSURE 14
-
-typedef struct xcb_no_exposure_event_t {
-    uint8_t        response_type; 
-    uint8_t        pad0; 
-    uint16_t       sequence; 
-    xcb_drawable_t drawable; 
-    uint16_t       minor_opcode; 
-    uint8_t        major_opcode; 
-    uint8_t        pad1; 
-} xcb_no_exposure_event_t;
-
-typedef enum xcb_visibility_t {
-    XCB_VISIBILITY_UNOBSCURED = 0,
-    XCB_VISIBILITY_PARTIALLY_OBSCURED = 1,
-    XCB_VISIBILITY_FULLY_OBSCURED = 2
-} xcb_visibility_t;
-
-#define XCB_VISIBILITY_NOTIFY 15
-
-typedef struct xcb_visibility_notify_event_t {
-    uint8_t      response_type; 
-    uint8_t      pad0; 
-    uint16_t     sequence; 
-    xcb_window_t window; 
-    uint8_t      state; 
-    uint8_t      pad1[3]; 
-} xcb_visibility_notify_event_t;
-
-#define XCB_CREATE_NOTIFY 16
-
-typedef struct xcb_create_notify_event_t {
-    uint8_t      response_type; 
-    uint8_t      pad0; 
-    uint16_t     sequence; 
-    xcb_window_t parent; 
-    xcb_window_t window; 
-    int16_t      x; 
-    int16_t      y; 
-    uint16_t     width; 
-    uint16_t     height; 
-    uint16_t     border_width; 
-    uint8_t      override_redirect; 
-    uint8_t      pad1; 
-} xcb_create_notify_event_t;
-
-#define XCB_DESTROY_NOTIFY 17
-
-typedef struct xcb_destroy_notify_event_t {
-    uint8_t      response_type; 
-    uint8_t      pad0; 
-    uint16_t     sequence; 
-    xcb_window_t event; 
-    xcb_window_t window; 
-} xcb_destroy_notify_event_t;
-
-#define XCB_UNMAP_NOTIFY 18
-
-typedef struct xcb_unmap_notify_event_t {
-    uint8_t      response_type; 
-    uint8_t      pad0; 
-    uint16_t     sequence; 
-    xcb_window_t event; 
-    xcb_window_t window; 
-    uint8_t      from_configure; 
-    uint8_t      pad1[3]; 
-} xcb_unmap_notify_event_t;
-
-#define XCB_MAP_NOTIFY 19
-
-typedef struct xcb_map_notify_event_t {
-    uint8_t      response_type; 
-    uint8_t      pad0; 
-    uint16_t     sequence; 
-    xcb_window_t event; 
-    xcb_window_t window; 
-    uint8_t      override_redirect; 
-    uint8_t      pad1[3]; 
-} xcb_map_notify_event_t;
-
-#define XCB_MAP_REQUEST 20
-
-typedef struct xcb_map_request_event_t {
-    uint8_t      response_type; 
-    uint8_t      pad0; 
-    uint16_t     sequence; 
-    xcb_window_t parent; 
-    xcb_window_t window; 
-} xcb_map_request_event_t;
-
-#define XCB_REPARENT_NOTIFY 21
-
-typedef struct xcb_reparent_notify_event_t {
-    uint8_t      response_type; 
-    uint8_t      pad0; 
-    uint16_t     sequence; 
-    xcb_window_t event; 
-    xcb_window_t window; 
-    xcb_window_t parent; 
-    int16_t      x; 
-    int16_t      y; 
-    uint8_t      override_redirect; 
-    uint8_t      pad1[3]; 
-} xcb_reparent_notify_event_t;
-
-#define XCB_CONFIGURE_NOTIFY 22
-
-typedef struct xcb_configure_notify_event_t {
-    uint8_t      response_type; 
-    uint8_t      pad0; 
-    uint16_t     sequence; 
-    xcb_window_t event; 
-    xcb_window_t window; 
-    xcb_window_t above_sibling; 
-    int16_t      x; 
-    int16_t      y; 
-    uint16_t     width; 
-    uint16_t     height; 
-    uint16_t     border_width; 
-    uint8_t      override_redirect; 
-    uint8_t      pad1; 
-} xcb_configure_notify_event_t;
-
-#define XCB_CONFIGURE_REQUEST 23
-
-typedef struct xcb_configure_request_event_t {
-    uint8_t      response_type; 
-    uint8_t      stack_mode; 
-    uint16_t     sequence; 
-    xcb_window_t parent; 
-    xcb_window_t window; 
-    xcb_window_t sibling; 
-    int16_t      x; 
-    int16_t      y; 
-    uint16_t     width; 
-    uint16_t     height; 
-    uint16_t     border_width; 
-    uint16_t     value_mask; 
-} xcb_configure_request_event_t;
-
-#define XCB_GRAVITY_NOTIFY 24
-
-typedef struct xcb_gravity_notify_event_t {
-    uint8_t      response_type; 
-    uint8_t      pad0; 
-    uint16_t     sequence; 
-    xcb_window_t event; 
-    xcb_window_t window; 
-    int16_t      x; 
-    int16_t      y; 
-} xcb_gravity_notify_event_t;
-
-#define XCB_RESIZE_REQUEST 25
-
-typedef struct xcb_resize_request_event_t {
-    uint8_t      response_type; 
-    uint8_t      pad0; 
-    uint16_t     sequence; 
-    xcb_window_t window; 
-    uint16_t     width; 
-    uint16_t     height; 
-} xcb_resize_request_event_t;
-
-typedef enum xcb_place_t {
-    XCB_PLACE_ON_TOP = 0,
-    XCB_PLACE_ON_BOTTOM = 1
-} xcb_place_t;
-
-#define XCB_CIRCULATE_NOTIFY 26
-
-typedef struct xcb_circulate_notify_event_t {
-    uint8_t      response_type; 
-    uint8_t      pad0; 
-    uint16_t     sequence; 
-    xcb_window_t event; 
-    xcb_window_t window; 
-    uint8_t      pad1[4]; 
-    uint8_t      place; 
-    uint8_t      pad2[3]; 
-} xcb_circulate_notify_event_t;
-
-#define XCB_CIRCULATE_REQUEST 27
-
-typedef xcb_circulate_notify_event_t xcb_circulate_request_event_t;
-
-typedef enum xcb_property_t {
-    XCB_PROPERTY_NEW_VALUE = 0,
-    XCB_PROPERTY_DELETE = 1
-} xcb_property_t;
-
-#define XCB_PROPERTY_NOTIFY 28
-
-typedef struct xcb_property_notify_event_t {
-    uint8_t         response_type; 
-    uint8_t         pad0; 
-    uint16_t        sequence; 
-    xcb_window_t    window; 
-    xcb_atom_t      atom; 
-    xcb_timestamp_t time; 
-    uint8_t         state; 
-    uint8_t         pad1[3]; 
-} xcb_property_notify_event_t;
-
-#define XCB_SELECTION_CLEAR 29
-
-typedef struct xcb_selection_clear_event_t {
-    uint8_t         response_type; 
-    uint8_t         pad0; 
-    uint16_t        sequence; 
-    xcb_timestamp_t time; 
-    xcb_window_t    owner; 
-    xcb_atom_t      selection; 
-} xcb_selection_clear_event_t;
-
-typedef enum xcb_time_t {
-    XCB_TIME_CURRENT_TIME = 0
-} xcb_time_t;
-
-typedef enum xcb_atom_enum_t {
-    XCB_ATOM_NONE = 0,
-    XCB_ATOM_ANY = 0,
-    XCB_ATOM_PRIMARY = 1,
-    XCB_ATOM_SECONDARY = 2,
-    XCB_ATOM_ARC = 3,
-    XCB_ATOM_ATOM = 4,
-    XCB_ATOM_BITMAP = 5,
-    XCB_ATOM_CARDINAL = 6,
-    XCB_ATOM_COLORMAP = 7,
-    XCB_ATOM_CURSOR = 8,
-    XCB_ATOM_CUT_BUFFER0 = 9,
-    XCB_ATOM_CUT_BUFFER1 = 10,
-    XCB_ATOM_CUT_BUFFER2 = 11,
-    XCB_ATOM_CUT_BUFFER3 = 12,
-    XCB_ATOM_CUT_BUFFER4 = 13,
-    XCB_ATOM_CUT_BUFFER5 = 14,
-    XCB_ATOM_CUT_BUFFER6 = 15,
-    XCB_ATOM_CUT_BUFFER7 = 16,
-    XCB_ATOM_DRAWABLE = 17,
-    XCB_ATOM_FONT = 18,
-    XCB_ATOM_INTEGER = 19,
-    XCB_ATOM_PIXMAP = 20,
-    XCB_ATOM_POINT = 21,
-    XCB_ATOM_RECTANGLE = 22,
-    XCB_ATOM_RESOURCE_MANAGER = 23,
-    XCB_ATOM_RGB_COLOR_MAP = 24,
-    XCB_ATOM_RGB_BEST_MAP = 25,
-    XCB_ATOM_RGB_BLUE_MAP = 26,
-    XCB_ATOM_RGB_DEFAULT_MAP = 27,
-    XCB_ATOM_RGB_GRAY_MAP = 28,
-    XCB_ATOM_RGB_GREEN_MAP = 29,
-    XCB_ATOM_RGB_RED_MAP = 30,
-    XCB_ATOM_STRING = 31,
-    XCB_ATOM_VISUALID = 32,
-    XCB_ATOM_WINDOW = 33,
-    XCB_ATOM_WM_COMMAND = 34,
-    XCB_ATOM_WM_HINTS = 35,
-    XCB_ATOM_WM_CLIENT_MACHINE = 36,
-    XCB_ATOM_WM_ICON_NAME = 37,
-    XCB_ATOM_WM_ICON_SIZE = 38,
-    XCB_ATOM_WM_NAME = 39,
-    XCB_ATOM_WM_NORMAL_HINTS = 40,
-    XCB_ATOM_WM_SIZE_HINTS = 41,
-    XCB_ATOM_WM_ZOOM_HINTS = 42,
-    XCB_ATOM_MIN_SPACE = 43,
-    XCB_ATOM_NORM_SPACE = 44,
-    XCB_ATOM_MAX_SPACE = 45,
-    XCB_ATOM_END_SPACE = 46,
-    XCB_ATOM_SUPERSCRIPT_X = 47,
-    XCB_ATOM_SUPERSCRIPT_Y = 48,
-    XCB_ATOM_SUBSCRIPT_X = 49,
-    XCB_ATOM_SUBSCRIPT_Y = 50,
-    XCB_ATOM_UNDERLINE_POSITION = 51,
-    XCB_ATOM_UNDERLINE_THICKNESS = 52,
-    XCB_ATOM_STRIKEOUT_ASCENT = 53,
-    XCB_ATOM_STRIKEOUT_DESCENT = 54,
-    XCB_ATOM_ITALIC_ANGLE = 55,
-    XCB_ATOM_X_HEIGHT = 56,
-    XCB_ATOM_QUAD_WIDTH = 57,
-    XCB_ATOM_WEIGHT = 58,
-    XCB_ATOM_POINT_SIZE = 59,
-    XCB_ATOM_RESOLUTION = 60,
-    XCB_ATOM_COPYRIGHT = 61,
-    XCB_ATOM_NOTICE = 62,
-    XCB_ATOM_FONT_NAME = 63,
-    XCB_ATOM_FAMILY_NAME = 64,
-    XCB_ATOM_FULL_NAME = 65,
-    XCB_ATOM_CAP_HEIGHT = 66,
-    XCB_ATOM_WM_CLASS = 67,
-    XCB_ATOM_WM_TRANSIENT_FOR = 68
-} xcb_atom_enum_t;
-
-#define XCB_SELECTION_REQUEST 30
-
-typedef struct xcb_selection_request_event_t {
-    uint8_t         response_type; 
-    uint8_t         pad0; 
-    uint16_t        sequence; 
-    xcb_timestamp_t time; 
-    xcb_window_t    owner; 
-    xcb_window_t    requestor; 
-    xcb_atom_t      selection; 
-    xcb_atom_t      target; 
-    xcb_atom_t      property; 
-} xcb_selection_request_event_t;
-
-#define XCB_SELECTION_NOTIFY 31
-
-typedef struct xcb_selection_notify_event_t {
-    uint8_t         response_type; 
-    uint8_t         pad0; 
-    uint16_t        sequence; 
-    xcb_timestamp_t time; 
-    xcb_window_t    requestor; 
-    xcb_atom_t      selection; 
-    xcb_atom_t      target; 
-    xcb_atom_t      property; 
-} xcb_selection_notify_event_t;
-
-typedef enum xcb_colormap_state_t {
-    XCB_COLORMAP_STATE_UNINSTALLED = 0,
-    XCB_COLORMAP_STATE_INSTALLED = 1
-} xcb_colormap_state_t;
-
-typedef enum xcb_colormap_enum_t {
-    XCB_COLORMAP_NONE = 0
-} xcb_colormap_enum_t;
-
-#define XCB_COLORMAP_NOTIFY 32
-
-typedef struct xcb_colormap_notify_event_t {
-    uint8_t        response_type; 
-    uint8_t        pad0; 
-    uint16_t       sequence; 
-    xcb_window_t   window; 
-    xcb_colormap_t colormap; 
-    uint8_t        _new; 
-    uint8_t        state; 
-    uint8_t        pad1[2]; 
-} xcb_colormap_notify_event_t;
-
-typedef union xcb_client_message_data_t {
-    uint8_t  data8[20]; 
-    uint16_t data16[10]; 
-    uint32_t data32[5]; 
-} xcb_client_message_data_t;
-
-typedef struct xcb_client_message_data_iterator_t {
-    xcb_client_message_data_t *data; 
-    int                        rem; 
-    int                        index; 
-} xcb_client_message_data_iterator_t;
-
-#define XCB_CLIENT_MESSAGE 33
-
-typedef struct xcb_client_message_event_t {
-    uint8_t                   response_type; 
-    uint8_t                   format; 
-    uint16_t                  sequence; 
-    xcb_window_t              window; 
-    xcb_atom_t                type; 
-    xcb_client_message_data_t data; 
-} xcb_client_message_event_t;
-
-typedef enum xcb_mapping_t {
-    XCB_MAPPING_MODIFIER = 0,
-    XCB_MAPPING_KEYBOARD = 1,
-    XCB_MAPPING_POINTER = 2
-} xcb_mapping_t;
-
-#define XCB_MAPPING_NOTIFY 34
-
-typedef struct xcb_mapping_notify_event_t {
-    uint8_t       response_type; 
-    uint8_t       pad0; 
-    uint16_t      sequence; 
-    uint8_t       request; 
-    xcb_keycode_t first_keycode; 
-    uint8_t       count; 
-    uint8_t       pad1; 
-} xcb_mapping_notify_event_t;
-
-#define XCB_GE_GENERIC 35
-
-typedef struct xcb_ge_generic_event_t {
-    uint8_t  response_type; 
-    uint8_t  extension; 
-    uint16_t sequence; 
-    uint32_t length; 
-    uint16_t event_type; 
-    uint8_t  pad0[22]; 
-    uint32_t full_sequence; 
-} xcb_ge_generic_event_t;
-
-#define XCB_REQUEST 1
-
-typedef struct xcb_request_error_t {
-    uint8_t  response_type; 
-    uint8_t  error_code; 
-    uint16_t sequence; 
-    uint32_t bad_value; 
-    uint16_t minor_opcode; 
-    uint8_t  major_opcode; 
-    uint8_t  pad0; 
-} xcb_request_error_t;
-
-#define XCB_VALUE 2
-
-typedef struct xcb_value_error_t {
-    uint8_t  response_type; 
-    uint8_t  error_code; 
-    uint16_t sequence; 
-    uint32_t bad_value; 
-    uint16_t minor_opcode; 
-    uint8_t  major_opcode; 
-    uint8_t  pad0; 
-} xcb_value_error_t;
-
-#define XCB_WINDOW 3
-
-typedef xcb_value_error_t xcb_window_error_t;
-
-#define XCB_PIXMAP 4
-
-typedef xcb_value_error_t xcb_pixmap_error_t;
-
-#define XCB_ATOM 5
-
-typedef xcb_value_error_t xcb_atom_error_t;
-
-#define XCB_CURSOR 6
-
-typedef xcb_value_error_t xcb_cursor_error_t;
-
-#define XCB_FONT 7
-
-typedef xcb_value_error_t xcb_font_error_t;
-
-#define XCB_MATCH 8
-
-typedef xcb_request_error_t xcb_match_error_t;
-
-#define XCB_DRAWABLE 9
-
-typedef xcb_value_error_t xcb_drawable_error_t;
-
-#define XCB_ACCESS 10
-
-typedef xcb_request_error_t xcb_access_error_t;
-
-#define XCB_ALLOC 11
-
-typedef xcb_request_error_t xcb_alloc_error_t;
-
-#define XCB_COLORMAP 12
-
-typedef xcb_value_error_t xcb_colormap_error_t;
-
-#define XCB_G_CONTEXT 13
-
-typedef xcb_value_error_t xcb_g_context_error_t;
-
-#define XCB_ID_CHOICE 14
-
-typedef xcb_value_error_t xcb_id_choice_error_t;
-
-#define XCB_NAME 15
-
-typedef xcb_request_error_t xcb_name_error_t;
-
-#define XCB_LENGTH 16
-
-typedef xcb_request_error_t xcb_length_error_t;
-
-#define XCB_IMPLEMENTATION 17
-
-typedef xcb_request_error_t xcb_implementation_error_t;
-
-typedef enum xcb_window_class_t {
-    XCB_WINDOW_CLASS_COPY_FROM_PARENT = 0,
-    XCB_WINDOW_CLASS_INPUT_OUTPUT = 1,
-    XCB_WINDOW_CLASS_INPUT_ONLY = 2
-} xcb_window_class_t;
-
-typedef enum xcb_cw_t {
-    XCB_CW_BACK_PIXMAP = 1,
-    XCB_CW_BACK_PIXEL = 2,
-    XCB_CW_BORDER_PIXMAP = 4,
-    XCB_CW_BORDER_PIXEL = 8,
-    XCB_CW_BIT_GRAVITY = 16,
-    XCB_CW_WIN_GRAVITY = 32,
-    XCB_CW_BACKING_STORE = 64,
-    XCB_CW_BACKING_PLANES = 128,
-    XCB_CW_BACKING_PIXEL = 256,
-    XCB_CW_OVERRIDE_REDIRECT = 512,
-    XCB_CW_SAVE_UNDER = 1024,
-    XCB_CW_EVENT_MASK = 2048,
-    XCB_CW_DONT_PROPAGATE = 4096,
-    XCB_CW_COLORMAP = 8192,
-    XCB_CW_CURSOR = 16384
-} xcb_cw_t;
-
-typedef enum xcb_back_pixmap_t {
-    XCB_BACK_PIXMAP_NONE = 0,
-    XCB_BACK_PIXMAP_PARENT_RELATIVE = 1
-} xcb_back_pixmap_t;
-
-typedef enum xcb_gravity_t {
-    XCB_GRAVITY_BIT_FORGET = 0,
-    XCB_GRAVITY_WIN_UNMAP = 0,
-    XCB_GRAVITY_NORTH_WEST = 1,
-    XCB_GRAVITY_NORTH = 2,
-    XCB_GRAVITY_NORTH_EAST = 3,
-    XCB_GRAVITY_WEST = 4,
-    XCB_GRAVITY_CENTER = 5,
-    XCB_GRAVITY_EAST = 6,
-    XCB_GRAVITY_SOUTH_WEST = 7,
-    XCB_GRAVITY_SOUTH = 8,
-    XCB_GRAVITY_SOUTH_EAST = 9,
-    XCB_GRAVITY_STATIC = 10
-} xcb_gravity_t;
-
-#define XCB_CREATE_WINDOW 1
-
-typedef struct xcb_create_window_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        depth; 
-    uint16_t       length; 
-    xcb_window_t   wid; 
-    xcb_window_t   parent; 
-    int16_t        x; 
-    int16_t        y; 
-    uint16_t       width; 
-    uint16_t       height; 
-    uint16_t       border_width; 
-    uint16_t       _class; 
-    xcb_visualid_t visual; 
-    uint32_t       value_mask; 
-} xcb_create_window_request_t;
-
-#define XCB_CHANGE_WINDOW_ATTRIBUTES 2
-
-typedef struct xcb_change_window_attributes_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      pad0; 
-    uint16_t     length; 
-    xcb_window_t window; 
-    uint32_t     value_mask; 
-} xcb_change_window_attributes_request_t;
-
-typedef enum xcb_map_state_t {
-    XCB_MAP_STATE_UNMAPPED = 0,
-    XCB_MAP_STATE_UNVIEWABLE = 1,
-    XCB_MAP_STATE_VIEWABLE = 2
-} xcb_map_state_t;
-
-typedef struct xcb_get_window_attributes_cookie_t {
-    unsigned int sequence; 
-} xcb_get_window_attributes_cookie_t;
-
-#define XCB_GET_WINDOW_ATTRIBUTES 3
-
-typedef struct xcb_get_window_attributes_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      pad0; 
-    uint16_t     length; 
-    xcb_window_t window; 
-} xcb_get_window_attributes_request_t;
-
-typedef struct xcb_get_window_attributes_reply_t {
-    uint8_t        response_type; 
-    uint8_t        backing_store; 
-    uint16_t       sequence; 
-    uint32_t       length; 
-    xcb_visualid_t visual; 
-    uint16_t       _class; 
-    uint8_t        bit_gravity; 
-    uint8_t        win_gravity; 
-    uint32_t       backing_planes; 
-    uint32_t       backing_pixel; 
-    uint8_t        save_under; 
-    uint8_t        map_is_installed; 
-    uint8_t        map_state; 
-    uint8_t        override_redirect; 
-    xcb_colormap_t colormap; 
-    uint32_t       all_event_masks; 
-    uint32_t       your_event_mask; 
-    uint16_t       do_not_propagate_mask; 
-    uint8_t        pad0[2]; 
-} xcb_get_window_attributes_reply_t;
-
-#define XCB_DESTROY_WINDOW 4
-
-typedef struct xcb_destroy_window_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      pad0; 
-    uint16_t     length; 
-    xcb_window_t window; 
-} xcb_destroy_window_request_t;
-
-#define XCB_DESTROY_SUBWINDOWS 5
-
-typedef struct xcb_destroy_subwindows_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      pad0; 
-    uint16_t     length; 
-    xcb_window_t window; 
-} xcb_destroy_subwindows_request_t;
-
-typedef enum xcb_set_mode_t {
-    XCB_SET_MODE_INSERT = 0,
-    XCB_SET_MODE_DELETE = 1
-} xcb_set_mode_t;
-
-#define XCB_CHANGE_SAVE_SET 6
-
-typedef struct xcb_change_save_set_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      mode; 
-    uint16_t     length; 
-    xcb_window_t window; 
-} xcb_change_save_set_request_t;
-
-#define XCB_REPARENT_WINDOW 7
-
-typedef struct xcb_reparent_window_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      pad0; 
-    uint16_t     length; 
-    xcb_window_t window; 
-    xcb_window_t parent; 
-    int16_t      x; 
-    int16_t      y; 
-} xcb_reparent_window_request_t;
-
-#define XCB_MAP_WINDOW 8
-
-typedef struct xcb_map_window_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      pad0; 
-    uint16_t     length; 
-    xcb_window_t window; 
-} xcb_map_window_request_t;
-
-#define XCB_MAP_SUBWINDOWS 9
-
-typedef struct xcb_map_subwindows_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      pad0; 
-    uint16_t     length; 
-    xcb_window_t window; 
-} xcb_map_subwindows_request_t;
-
-#define XCB_UNMAP_WINDOW 10
-
-typedef struct xcb_unmap_window_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      pad0; 
-    uint16_t     length; 
-    xcb_window_t window; 
-} xcb_unmap_window_request_t;
-
-#define XCB_UNMAP_SUBWINDOWS 11
-
-typedef struct xcb_unmap_subwindows_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      pad0; 
-    uint16_t     length; 
-    xcb_window_t window; 
-} xcb_unmap_subwindows_request_t;
-
-typedef enum xcb_config_window_t {
-    XCB_CONFIG_WINDOW_X = 1,
-    XCB_CONFIG_WINDOW_Y = 2,
-    XCB_CONFIG_WINDOW_WIDTH = 4,
-    XCB_CONFIG_WINDOW_HEIGHT = 8,
-    XCB_CONFIG_WINDOW_BORDER_WIDTH = 16,
-    XCB_CONFIG_WINDOW_SIBLING = 32,
-    XCB_CONFIG_WINDOW_STACK_MODE = 64
-} xcb_config_window_t;
-
-typedef enum xcb_stack_mode_t {
-    XCB_STACK_MODE_ABOVE = 0,
-    XCB_STACK_MODE_BELOW = 1,
-    XCB_STACK_MODE_TOP_IF = 2,
-    XCB_STACK_MODE_BOTTOM_IF = 3,
-    XCB_STACK_MODE_OPPOSITE = 4
-} xcb_stack_mode_t;
-
-#define XCB_CONFIGURE_WINDOW 12
-
-typedef struct xcb_configure_window_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      pad0; 
-    uint16_t     length; 
-    xcb_window_t window; 
-    uint16_t     value_mask; 
-    uint8_t      pad1[2]; 
-} xcb_configure_window_request_t;
-
-typedef enum xcb_circulate_t {
-    XCB_CIRCULATE_RAISE_LOWEST = 0,
-    XCB_CIRCULATE_LOWER_HIGHEST = 1
-} xcb_circulate_t;
-
-#define XCB_CIRCULATE_WINDOW 13
-
-typedef struct xcb_circulate_window_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      direction; 
-    uint16_t     length; 
-    xcb_window_t window; 
-} xcb_circulate_window_request_t;
-
-typedef struct xcb_get_geometry_cookie_t {
-    unsigned int sequence; 
-} xcb_get_geometry_cookie_t;
-
-#define XCB_GET_GEOMETRY 14
-
-typedef struct xcb_get_geometry_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_drawable_t drawable; 
-} xcb_get_geometry_request_t;
-
-typedef struct xcb_get_geometry_reply_t {
-    uint8_t      response_type; 
-    uint8_t      depth; 
-    uint16_t     sequence; 
-    uint32_t     length; 
-    xcb_window_t root; 
-    int16_t      x; 
-    int16_t      y; 
-    uint16_t     width; 
-    uint16_t     height; 
-    uint16_t     border_width; 
-    uint8_t      pad0[2]; 
-} xcb_get_geometry_reply_t;
-
-typedef struct xcb_query_tree_cookie_t {
-    unsigned int sequence; 
-} xcb_query_tree_cookie_t;
-
-#define XCB_QUERY_TREE 15
-
-typedef struct xcb_query_tree_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      pad0; 
-    uint16_t     length; 
-    xcb_window_t window; 
-} xcb_query_tree_request_t;
-
-typedef struct xcb_query_tree_reply_t {
-    uint8_t      response_type; 
-    uint8_t      pad0; 
-    uint16_t     sequence; 
-    uint32_t     length; 
-    xcb_window_t root; 
-    xcb_window_t parent; 
-    uint16_t     children_len; 
-    uint8_t      pad1[14]; 
-} xcb_query_tree_reply_t;
-
-typedef struct xcb_intern_atom_cookie_t {
-    unsigned int sequence; 
-} xcb_intern_atom_cookie_t;
-
-#define XCB_INTERN_ATOM 16
-
-typedef struct xcb_intern_atom_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  only_if_exists; 
-    uint16_t length; 
-    uint16_t name_len; 
-    uint8_t  pad0[2]; 
-} xcb_intern_atom_request_t;
-
-typedef struct xcb_intern_atom_reply_t {
-    uint8_t    response_type; 
-    uint8_t    pad0; 
-    uint16_t   sequence; 
-    uint32_t   length; 
-    xcb_atom_t atom; 
-} xcb_intern_atom_reply_t;
-
-typedef struct xcb_get_atom_name_cookie_t {
-    unsigned int sequence; 
-} xcb_get_atom_name_cookie_t;
-
-#define XCB_GET_ATOM_NAME 17
-
-typedef struct xcb_get_atom_name_request_t {
-    uint8_t    major_opcode; 
-    uint8_t    pad0; 
-    uint16_t   length; 
-    xcb_atom_t atom; 
-} xcb_get_atom_name_request_t;
-
-typedef struct xcb_get_atom_name_reply_t {
-    uint8_t  response_type; 
-    uint8_t  pad0; 
-    uint16_t sequence; 
-    uint32_t length; 
-    uint16_t name_len; 
-    uint8_t  pad1[22]; 
-} xcb_get_atom_name_reply_t;
-
-typedef enum xcb_prop_mode_t {
-    XCB_PROP_MODE_REPLACE = 0,
-    XCB_PROP_MODE_PREPEND = 1,
-    XCB_PROP_MODE_APPEND = 2
-} xcb_prop_mode_t;
-
-#define XCB_CHANGE_PROPERTY 18
-
-typedef struct xcb_change_property_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      mode; 
-    uint16_t     length; 
-    xcb_window_t window; 
-    xcb_atom_t   property; 
-    xcb_atom_t   type; 
-    uint8_t      format; 
-    uint8_t      pad0[3]; 
-    uint32_t     data_len; 
-} xcb_change_property_request_t;
-
-#define XCB_DELETE_PROPERTY 19
-
-typedef struct xcb_delete_property_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      pad0; 
-    uint16_t     length; 
-    xcb_window_t window; 
-    xcb_atom_t   property; 
-} xcb_delete_property_request_t;
-
-typedef enum xcb_get_property_type_t {
-    XCB_GET_PROPERTY_TYPE_ANY = 0
-} xcb_get_property_type_t;
-
-typedef struct xcb_get_property_cookie_t {
-    unsigned int sequence; 
-} xcb_get_property_cookie_t;
-
-#define XCB_GET_PROPERTY 20
-
-typedef struct xcb_get_property_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      _delete; 
-    uint16_t     length; 
-    xcb_window_t window; 
-    xcb_atom_t   property; 
-    xcb_atom_t   type; 
-    uint32_t     long_offset; 
-    uint32_t     long_length; 
-} xcb_get_property_request_t;
-
-typedef struct xcb_get_property_reply_t {
-    uint8_t    response_type; 
-    uint8_t    format; 
-    uint16_t   sequence; 
-    uint32_t   length; 
-    xcb_atom_t type; 
-    uint32_t   bytes_after; 
-    uint32_t   value_len; 
-    uint8_t    pad0[12]; 
-} xcb_get_property_reply_t;
-
-typedef struct xcb_list_properties_cookie_t {
-    unsigned int sequence; 
-} xcb_list_properties_cookie_t;
-
-#define XCB_LIST_PROPERTIES 21
-
-typedef struct xcb_list_properties_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      pad0; 
-    uint16_t     length; 
-    xcb_window_t window; 
-} xcb_list_properties_request_t;
-
-typedef struct xcb_list_properties_reply_t {
-    uint8_t  response_type; 
-    uint8_t  pad0; 
-    uint16_t sequence; 
-    uint32_t length; 
-    uint16_t atoms_len; 
-    uint8_t  pad1[22]; 
-} xcb_list_properties_reply_t;
-
-#define XCB_SET_SELECTION_OWNER 22
-
-typedef struct xcb_set_selection_owner_request_t {
-    uint8_t         major_opcode; 
-    uint8_t         pad0; 
-    uint16_t        length; 
-    xcb_window_t    owner; 
-    xcb_atom_t      selection; 
-    xcb_timestamp_t time; 
-} xcb_set_selection_owner_request_t;
-
-typedef struct xcb_get_selection_owner_cookie_t {
-    unsigned int sequence; 
-} xcb_get_selection_owner_cookie_t;
-
-#define XCB_GET_SELECTION_OWNER 23
-
-typedef struct xcb_get_selection_owner_request_t {
-    uint8_t    major_opcode; 
-    uint8_t    pad0; 
-    uint16_t   length; 
-    xcb_atom_t selection; 
-} xcb_get_selection_owner_request_t;
-
-typedef struct xcb_get_selection_owner_reply_t {
-    uint8_t      response_type; 
-    uint8_t      pad0; 
-    uint16_t     sequence; 
-    uint32_t     length; 
-    xcb_window_t owner; 
-} xcb_get_selection_owner_reply_t;
-
-#define XCB_CONVERT_SELECTION 24
-
-typedef struct xcb_convert_selection_request_t {
-    uint8_t         major_opcode; 
-    uint8_t         pad0; 
-    uint16_t        length; 
-    xcb_window_t    requestor; 
-    xcb_atom_t      selection; 
-    xcb_atom_t      target; 
-    xcb_atom_t      property; 
-    xcb_timestamp_t time; 
-} xcb_convert_selection_request_t;
-
-typedef enum xcb_send_event_dest_t {
-    XCB_SEND_EVENT_DEST_POINTER_WINDOW = 0,
-    XCB_SEND_EVENT_DEST_ITEM_FOCUS = 1
-} xcb_send_event_dest_t;
-
-#define XCB_SEND_EVENT 25
-
-typedef struct xcb_send_event_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      propagate; 
-    uint16_t     length; 
-    xcb_window_t destination; 
-    uint32_t     event_mask; 
-    char         event[32]; 
-} xcb_send_event_request_t;
-
-typedef enum xcb_grab_mode_t {
-    XCB_GRAB_MODE_SYNC = 0,
-    XCB_GRAB_MODE_ASYNC = 1
-} xcb_grab_mode_t;
-
-typedef enum xcb_grab_status_t {
-    XCB_GRAB_STATUS_SUCCESS = 0,
-    XCB_GRAB_STATUS_ALREADY_GRABBED = 1,
-    XCB_GRAB_STATUS_INVALID_TIME = 2,
-    XCB_GRAB_STATUS_NOT_VIEWABLE = 3,
-    XCB_GRAB_STATUS_FROZEN = 4
-} xcb_grab_status_t;
-
-typedef enum xcb_cursor_enum_t {
-    XCB_CURSOR_NONE = 0
-} xcb_cursor_enum_t;
-
-typedef struct xcb_grab_pointer_cookie_t {
-    unsigned int sequence; 
-} xcb_grab_pointer_cookie_t;
-
-#define XCB_GRAB_POINTER 26
-
-typedef struct xcb_grab_pointer_request_t {
-    uint8_t         major_opcode; 
-    uint8_t         owner_events; 
-    uint16_t        length; 
-    xcb_window_t    grab_window; 
-    uint16_t        event_mask; 
-    uint8_t         pointer_mode; 
-    uint8_t         keyboard_mode; 
-    xcb_window_t    confine_to; 
-    xcb_cursor_t    cursor; 
-    xcb_timestamp_t time; 
-} xcb_grab_pointer_request_t;
-
-typedef struct xcb_grab_pointer_reply_t {
-    uint8_t  response_type; 
-    uint8_t  status; 
-    uint16_t sequence; 
-    uint32_t length; 
-} xcb_grab_pointer_reply_t;
-
-#define XCB_UNGRAB_POINTER 27
-
-typedef struct xcb_ungrab_pointer_request_t {
-    uint8_t         major_opcode; 
-    uint8_t         pad0; 
-    uint16_t        length; 
-    xcb_timestamp_t time; 
-} xcb_ungrab_pointer_request_t;
-
-typedef enum xcb_button_index_t {
-    XCB_BUTTON_INDEX_ANY = 0,
-    XCB_BUTTON_INDEX_1 = 1,
-    XCB_BUTTON_INDEX_2 = 2,
-    XCB_BUTTON_INDEX_3 = 3,
-    XCB_BUTTON_INDEX_4 = 4,
-    XCB_BUTTON_INDEX_5 = 5
-} xcb_button_index_t;
-
-#define XCB_GRAB_BUTTON 28
-
-typedef struct xcb_grab_button_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      owner_events; 
-    uint16_t     length; 
-    xcb_window_t grab_window; 
-    uint16_t     event_mask; 
-    uint8_t      pointer_mode; 
-    uint8_t      keyboard_mode; 
-    xcb_window_t confine_to; 
-    xcb_cursor_t cursor; 
-    uint8_t      button; 
-    uint8_t      pad0; 
-    uint16_t     modifiers; 
-} xcb_grab_button_request_t;
-
-#define XCB_UNGRAB_BUTTON 29
-
-typedef struct xcb_ungrab_button_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      button; 
-    uint16_t     length; 
-    xcb_window_t grab_window; 
-    uint16_t     modifiers; 
-    uint8_t      pad0[2]; 
-} xcb_ungrab_button_request_t;
-
-#define XCB_CHANGE_ACTIVE_POINTER_GRAB 30
-
-typedef struct xcb_change_active_pointer_grab_request_t {
-    uint8_t         major_opcode; 
-    uint8_t         pad0; 
-    uint16_t        length; 
-    xcb_cursor_t    cursor; 
-    xcb_timestamp_t time; 
-    uint16_t        event_mask; 
-    uint8_t         pad1[2]; 
-} xcb_change_active_pointer_grab_request_t;
-
-typedef struct xcb_grab_keyboard_cookie_t {
-    unsigned int sequence; 
-} xcb_grab_keyboard_cookie_t;
-
-#define XCB_GRAB_KEYBOARD 31
-
-typedef struct xcb_grab_keyboard_request_t {
-    uint8_t         major_opcode; 
-    uint8_t         owner_events; 
-    uint16_t        length; 
-    xcb_window_t    grab_window; 
-    xcb_timestamp_t time; 
-    uint8_t         pointer_mode; 
-    uint8_t         keyboard_mode; 
-    uint8_t         pad0[2]; 
-} xcb_grab_keyboard_request_t;
-
-typedef struct xcb_grab_keyboard_reply_t {
-    uint8_t  response_type; 
-    uint8_t  status; 
-    uint16_t sequence; 
-    uint32_t length; 
-} xcb_grab_keyboard_reply_t;
-
-#define XCB_UNGRAB_KEYBOARD 32
-
-typedef struct xcb_ungrab_keyboard_request_t {
-    uint8_t         major_opcode; 
-    uint8_t         pad0; 
-    uint16_t        length; 
-    xcb_timestamp_t time; 
-} xcb_ungrab_keyboard_request_t;
-
-typedef enum xcb_grab_t {
-    XCB_GRAB_ANY = 0
-} xcb_grab_t;
-
-#define XCB_GRAB_KEY 33
-
-typedef struct xcb_grab_key_request_t {
-    uint8_t       major_opcode; 
-    uint8_t       owner_events; 
-    uint16_t      length; 
-    xcb_window_t  grab_window; 
-    uint16_t      modifiers; 
-    xcb_keycode_t key; 
-    uint8_t       pointer_mode; 
-    uint8_t       keyboard_mode; 
-    uint8_t       pad0[3]; 
-} xcb_grab_key_request_t;
-
-#define XCB_UNGRAB_KEY 34
-
-typedef struct xcb_ungrab_key_request_t {
-    uint8_t       major_opcode; 
-    xcb_keycode_t key; 
-    uint16_t      length; 
-    xcb_window_t  grab_window; 
-    uint16_t      modifiers; 
-    uint8_t       pad0[2]; 
-} xcb_ungrab_key_request_t;
-
-typedef enum xcb_allow_t {
-    XCB_ALLOW_ASYNC_POINTER = 0,
-    XCB_ALLOW_SYNC_POINTER = 1,
-    XCB_ALLOW_REPLAY_POINTER = 2,
-    XCB_ALLOW_ASYNC_KEYBOARD = 3,
-    XCB_ALLOW_SYNC_KEYBOARD = 4,
-    XCB_ALLOW_REPLAY_KEYBOARD = 5,
-    XCB_ALLOW_ASYNC_BOTH = 6,
-    XCB_ALLOW_SYNC_BOTH = 7
-} xcb_allow_t;
-
-#define XCB_ALLOW_EVENTS 35
-
-typedef struct xcb_allow_events_request_t {
-    uint8_t         major_opcode; 
-    uint8_t         mode; 
-    uint16_t        length; 
-    xcb_timestamp_t time; 
-} xcb_allow_events_request_t;
-
-#define XCB_GRAB_SERVER 36
-
-typedef struct xcb_grab_server_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  pad0; 
-    uint16_t length; 
-} xcb_grab_server_request_t;
-
-#define XCB_UNGRAB_SERVER 37
-
-typedef struct xcb_ungrab_server_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  pad0; 
-    uint16_t length; 
-} xcb_ungrab_server_request_t;
-
-typedef struct xcb_query_pointer_cookie_t {
-    unsigned int sequence; 
-} xcb_query_pointer_cookie_t;
-
-#define XCB_QUERY_POINTER 38
-
-typedef struct xcb_query_pointer_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      pad0; 
-    uint16_t     length; 
-    xcb_window_t window; 
-} xcb_query_pointer_request_t;
-
-typedef struct xcb_query_pointer_reply_t {
-    uint8_t      response_type; 
-    uint8_t      same_screen; 
-    uint16_t     sequence; 
-    uint32_t     length; 
-    xcb_window_t root; 
-    xcb_window_t child; 
-    int16_t      root_x; 
-    int16_t      root_y; 
-    int16_t      win_x; 
-    int16_t      win_y; 
-    uint16_t     mask; 
-    uint8_t      pad0[2]; 
-} xcb_query_pointer_reply_t;
-
-typedef struct xcb_timecoord_t {
-    xcb_timestamp_t time; 
-    int16_t         x; 
-    int16_t         y; 
-} xcb_timecoord_t;
-
-typedef struct xcb_timecoord_iterator_t {
-    xcb_timecoord_t *data; 
-    int              rem; 
-    int              index; 
-} xcb_timecoord_iterator_t;
-
-typedef struct xcb_get_motion_events_cookie_t {
-    unsigned int sequence; 
-} xcb_get_motion_events_cookie_t;
-
-#define XCB_GET_MOTION_EVENTS 39
-
-typedef struct xcb_get_motion_events_request_t {
-    uint8_t         major_opcode; 
-    uint8_t         pad0; 
-    uint16_t        length; 
-    xcb_window_t    window; 
-    xcb_timestamp_t start; 
-    xcb_timestamp_t stop; 
-} xcb_get_motion_events_request_t;
-
-typedef struct xcb_get_motion_events_reply_t {
-    uint8_t  response_type; 
-    uint8_t  pad0; 
-    uint16_t sequence; 
-    uint32_t length; 
-    uint32_t events_len; 
-    uint8_t  pad1[20]; 
-} xcb_get_motion_events_reply_t;
-
-typedef struct xcb_translate_coordinates_cookie_t {
-    unsigned int sequence; 
-} xcb_translate_coordinates_cookie_t;
-
-#define XCB_TRANSLATE_COORDINATES 40
-
-typedef struct xcb_translate_coordinates_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      pad0; 
-    uint16_t     length; 
-    xcb_window_t src_window; 
-    xcb_window_t dst_window; 
-    int16_t      src_x; 
-    int16_t      src_y; 
-} xcb_translate_coordinates_request_t;
-
-typedef struct xcb_translate_coordinates_reply_t {
-    uint8_t      response_type; 
-    uint8_t      same_screen; 
-    uint16_t     sequence; 
-    uint32_t     length; 
-    xcb_window_t child; 
-    int16_t      dst_x; 
-    int16_t      dst_y; 
-} xcb_translate_coordinates_reply_t;
-
-#define XCB_WARP_POINTER 41
-
-typedef struct xcb_warp_pointer_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      pad0; 
-    uint16_t     length; 
-    xcb_window_t src_window; 
-    xcb_window_t dst_window; 
-    int16_t      src_x; 
-    int16_t      src_y; 
-    uint16_t     src_width; 
-    uint16_t     src_height; 
-    int16_t      dst_x; 
-    int16_t      dst_y; 
-} xcb_warp_pointer_request_t;
-
-typedef enum xcb_input_focus_t {
-    XCB_INPUT_FOCUS_NONE = 0,
-    XCB_INPUT_FOCUS_POINTER_ROOT = 1,
-    XCB_INPUT_FOCUS_PARENT = 2,
-    XCB_INPUT_FOCUS_FOLLOW_KEYBOARD = 3
-} xcb_input_focus_t;
-
-#define XCB_SET_INPUT_FOCUS 42
-
-typedef struct xcb_set_input_focus_request_t {
-    uint8_t         major_opcode; 
-    uint8_t         revert_to; 
-    uint16_t        length; 
-    xcb_window_t    focus; 
-    xcb_timestamp_t time; 
-} xcb_set_input_focus_request_t;
-
-typedef struct xcb_get_input_focus_cookie_t {
-    unsigned int sequence; 
-} xcb_get_input_focus_cookie_t;
-
-#define XCB_GET_INPUT_FOCUS 43
-
-typedef struct xcb_get_input_focus_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  pad0; 
-    uint16_t length; 
-} xcb_get_input_focus_request_t;
-
-typedef struct xcb_get_input_focus_reply_t {
-    uint8_t      response_type; 
-    uint8_t      revert_to; 
-    uint16_t     sequence; 
-    uint32_t     length; 
-    xcb_window_t focus; 
-} xcb_get_input_focus_reply_t;
-
-typedef struct xcb_query_keymap_cookie_t {
-    unsigned int sequence; 
-} xcb_query_keymap_cookie_t;
-
-#define XCB_QUERY_KEYMAP 44
-
-typedef struct xcb_query_keymap_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  pad0; 
-    uint16_t length; 
-} xcb_query_keymap_request_t;
-
-typedef struct xcb_query_keymap_reply_t {
-    uint8_t  response_type; 
-    uint8_t  pad0; 
-    uint16_t sequence; 
-    uint32_t length; 
-    uint8_t  keys[32]; 
-} xcb_query_keymap_reply_t;
-
-#define XCB_OPEN_FONT 45
-
-typedef struct xcb_open_font_request_t {
-    uint8_t    major_opcode; 
-    uint8_t    pad0; 
-    uint16_t   length; 
-    xcb_font_t fid; 
-    uint16_t   name_len; 
-    uint8_t    pad1[2]; 
-} xcb_open_font_request_t;
-
-#define XCB_CLOSE_FONT 46
-
-typedef struct xcb_close_font_request_t {
-    uint8_t    major_opcode; 
-    uint8_t    pad0; 
-    uint16_t   length; 
-    xcb_font_t font; 
-} xcb_close_font_request_t;
-
-typedef enum xcb_font_draw_t {
-    XCB_FONT_DRAW_LEFT_TO_RIGHT = 0,
-    XCB_FONT_DRAW_RIGHT_TO_LEFT = 1
-} xcb_font_draw_t;
-
-typedef struct xcb_fontprop_t {
-    xcb_atom_t name; 
-    uint32_t   value; 
-} xcb_fontprop_t;
-
-typedef struct xcb_fontprop_iterator_t {
-    xcb_fontprop_t *data; 
-    int             rem; 
-    int             index; 
-} xcb_fontprop_iterator_t;
-
-typedef struct xcb_charinfo_t {
-    int16_t  left_side_bearing; 
-    int16_t  right_side_bearing; 
-    int16_t  character_width; 
-    int16_t  ascent; 
-    int16_t  descent; 
-    uint16_t attributes; 
-} xcb_charinfo_t;
-
-typedef struct xcb_charinfo_iterator_t {
-    xcb_charinfo_t *data; 
-    int             rem; 
-    int             index; 
-} xcb_charinfo_iterator_t;
-
-typedef struct xcb_query_font_cookie_t {
-    unsigned int sequence; 
-} xcb_query_font_cookie_t;
-
-#define XCB_QUERY_FONT 47
-
-typedef struct xcb_query_font_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_fontable_t font; 
-} xcb_query_font_request_t;
-
-typedef struct xcb_query_font_reply_t {
-    uint8_t        response_type; 
-    uint8_t        pad0; 
-    uint16_t       sequence; 
-    uint32_t       length; 
-    xcb_charinfo_t min_bounds; 
-    uint8_t        pad1[4]; 
-    xcb_charinfo_t max_bounds; 
-    uint8_t        pad2[4]; 
-    uint16_t       min_char_or_byte2; 
-    uint16_t       max_char_or_byte2; 
-    uint16_t       default_char; 
-    uint16_t       properties_len; 
-    uint8_t        draw_direction; 
-    uint8_t        min_byte1; 
-    uint8_t        max_byte1; 
-    uint8_t        all_chars_exist; 
-    int16_t        font_ascent; 
-    int16_t        font_descent; 
-    uint32_t       char_infos_len; 
-} xcb_query_font_reply_t;
-
-typedef struct xcb_query_text_extents_cookie_t {
-    unsigned int sequence; 
-} xcb_query_text_extents_cookie_t;
-
-#define XCB_QUERY_TEXT_EXTENTS 48
-
-typedef struct xcb_query_text_extents_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        odd_length; 
-    uint16_t       length; 
-    xcb_fontable_t font; 
-} xcb_query_text_extents_request_t;
-
-typedef struct xcb_query_text_extents_reply_t {
-    uint8_t  response_type; 
-    uint8_t  draw_direction; 
-    uint16_t sequence; 
-    uint32_t length; 
-    int16_t  font_ascent; 
-    int16_t  font_descent; 
-    int16_t  overall_ascent; 
-    int16_t  overall_descent; 
-    int32_t  overall_width; 
-    int32_t  overall_left; 
-    int32_t  overall_right; 
-} xcb_query_text_extents_reply_t;
-
-typedef struct xcb_str_t {
-    uint8_t name_len; 
-} xcb_str_t;
-
-typedef struct xcb_str_iterator_t {
-    xcb_str_t *data; 
-    int        rem; 
-    int        index; 
-} xcb_str_iterator_t;
-
-typedef struct xcb_list_fonts_cookie_t {
-    unsigned int sequence; 
-} xcb_list_fonts_cookie_t;
-
-#define XCB_LIST_FONTS 49
-
-typedef struct xcb_list_fonts_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  pad0; 
-    uint16_t length; 
-    uint16_t max_names; 
-    uint16_t pattern_len; 
-} xcb_list_fonts_request_t;
-
-typedef struct xcb_list_fonts_reply_t {
-    uint8_t  response_type; 
-    uint8_t  pad0; 
-    uint16_t sequence; 
-    uint32_t length; 
-    uint16_t names_len; 
-    uint8_t  pad1[22]; 
-} xcb_list_fonts_reply_t;
-
-typedef struct xcb_list_fonts_with_info_cookie_t {
-    unsigned int sequence; 
-} xcb_list_fonts_with_info_cookie_t;
-
-#define XCB_LIST_FONTS_WITH_INFO 50
-
-typedef struct xcb_list_fonts_with_info_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  pad0; 
-    uint16_t length; 
-    uint16_t max_names; 
-    uint16_t pattern_len; 
-} xcb_list_fonts_with_info_request_t;
-
-typedef struct xcb_list_fonts_with_info_reply_t {
-    uint8_t        response_type; 
-    uint8_t        name_len; 
-    uint16_t       sequence; 
-    uint32_t       length; 
-    xcb_charinfo_t min_bounds; 
-    uint8_t        pad0[4]; 
-    xcb_charinfo_t max_bounds; 
-    uint8_t        pad1[4]; 
-    uint16_t       min_char_or_byte2; 
-    uint16_t       max_char_or_byte2; 
-    uint16_t       default_char; 
-    uint16_t       properties_len; 
-    uint8_t        draw_direction; 
-    uint8_t        min_byte1; 
-    uint8_t        max_byte1; 
-    uint8_t        all_chars_exist; 
-    int16_t        font_ascent; 
-    int16_t        font_descent; 
-    uint32_t       replies_hint; 
-} xcb_list_fonts_with_info_reply_t;
-
-#define XCB_SET_FONT_PATH 51
-
-typedef struct xcb_set_font_path_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  pad0; 
-    uint16_t length; 
-    uint16_t font_qty; 
-    uint8_t  pad1[2]; 
-} xcb_set_font_path_request_t;
-
-typedef struct xcb_get_font_path_cookie_t {
-    unsigned int sequence; 
-} xcb_get_font_path_cookie_t;
-
-#define XCB_GET_FONT_PATH 52
-
-typedef struct xcb_get_font_path_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  pad0; 
-    uint16_t length; 
-} xcb_get_font_path_request_t;
-
-typedef struct xcb_get_font_path_reply_t {
-    uint8_t  response_type; 
-    uint8_t  pad0; 
-    uint16_t sequence; 
-    uint32_t length; 
-    uint16_t path_len; 
-    uint8_t  pad1[22]; 
-} xcb_get_font_path_reply_t;
-
-#define XCB_CREATE_PIXMAP 53
-
-typedef struct xcb_create_pixmap_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        depth; 
-    uint16_t       length; 
-    xcb_pixmap_t   pid; 
-    xcb_drawable_t drawable; 
-    uint16_t       width; 
-    uint16_t       height; 
-} xcb_create_pixmap_request_t;
-
-#define XCB_FREE_PIXMAP 54
-
-typedef struct xcb_free_pixmap_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      pad0; 
-    uint16_t     length; 
-    xcb_pixmap_t pixmap; 
-} xcb_free_pixmap_request_t;
-
-typedef enum xcb_gc_t {
-    XCB_GC_FUNCTION = 1,
-    XCB_GC_PLANE_MASK = 2,
-    XCB_GC_FOREGROUND = 4,
-    XCB_GC_BACKGROUND = 8,
-    XCB_GC_LINE_WIDTH = 16,
-    XCB_GC_LINE_STYLE = 32,
-    XCB_GC_CAP_STYLE = 64,
-    XCB_GC_JOIN_STYLE = 128,
-    XCB_GC_FILL_STYLE = 256,
-    XCB_GC_FILL_RULE = 512,
-    XCB_GC_TILE = 1024,
-    XCB_GC_STIPPLE = 2048,
-    XCB_GC_TILE_STIPPLE_ORIGIN_X = 4096,
-    XCB_GC_TILE_STIPPLE_ORIGIN_Y = 8192,
-    XCB_GC_FONT = 16384,
-    XCB_GC_SUBWINDOW_MODE = 32768,
-    XCB_GC_GRAPHICS_EXPOSURES = 65536,
-    XCB_GC_CLIP_ORIGIN_X = 131072,
-    XCB_GC_CLIP_ORIGIN_Y = 262144,
-    XCB_GC_CLIP_MASK = 524288,
-    XCB_GC_DASH_OFFSET = 1048576,
-    XCB_GC_DASH_LIST = 2097152,
-    XCB_GC_ARC_MODE = 4194304
-} xcb_gc_t;
-
-typedef enum xcb_gx_t {
-    XCB_GX_CLEAR = 0,
-    XCB_GX_AND = 1,
-    XCB_GX_AND_REVERSE = 2,
-    XCB_GX_COPY = 3,
-    XCB_GX_AND_INVERTED = 4,
-    XCB_GX_NOOP = 5,
-    XCB_GX_XOR = 6,
-    XCB_GX_OR = 7,
-    XCB_GX_NOR = 8,
-    XCB_GX_EQUIV = 9,
-    XCB_GX_INVERT = 10,
-    XCB_GX_OR_REVERSE = 11,
-    XCB_GX_COPY_INVERTED = 12,
-    XCB_GX_OR_INVERTED = 13,
-    XCB_GX_NAND = 14,
-    XCB_GX_SET = 15
-} xcb_gx_t;
-
-typedef enum xcb_line_style_t {
-    XCB_LINE_STYLE_SOLID = 0,
-    XCB_LINE_STYLE_ON_OFF_DASH = 1,
-    XCB_LINE_STYLE_DOUBLE_DASH = 2
-} xcb_line_style_t;
-
-typedef enum xcb_cap_style_t {
-    XCB_CAP_STYLE_NOT_LAST = 0,
-    XCB_CAP_STYLE_BUTT = 1,
-    XCB_CAP_STYLE_ROUND = 2,
-    XCB_CAP_STYLE_PROJECTING = 3
-} xcb_cap_style_t;
-
-typedef enum xcb_join_style_t {
-    XCB_JOIN_STYLE_MITER = 0,
-    XCB_JOIN_STYLE_ROUND = 1,
-    XCB_JOIN_STYLE_BEVEL = 2
-} xcb_join_style_t;
-
-typedef enum xcb_fill_style_t {
-    XCB_FILL_STYLE_SOLID = 0,
-    XCB_FILL_STYLE_TILED = 1,
-    XCB_FILL_STYLE_STIPPLED = 2,
-    XCB_FILL_STYLE_OPAQUE_STIPPLED = 3
-} xcb_fill_style_t;
-
-typedef enum xcb_fill_rule_t {
-    XCB_FILL_RULE_EVEN_ODD = 0,
-    XCB_FILL_RULE_WINDING = 1
-} xcb_fill_rule_t;
-
-typedef enum xcb_subwindow_mode_t {
-    XCB_SUBWINDOW_MODE_CLIP_BY_CHILDREN = 0,
-    XCB_SUBWINDOW_MODE_INCLUDE_INFERIORS = 1
-} xcb_subwindow_mode_t;
-
-typedef enum xcb_arc_mode_t {
-    XCB_ARC_MODE_CHORD = 0,
-    XCB_ARC_MODE_PIE_SLICE = 1
-} xcb_arc_mode_t;
-
-#define XCB_CREATE_GC 55
-
-typedef struct xcb_create_gc_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_gcontext_t cid; 
-    xcb_drawable_t drawable; 
-    uint32_t       value_mask; 
-} xcb_create_gc_request_t;
-
-#define XCB_CHANGE_GC 56
-
-typedef struct xcb_change_gc_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_gcontext_t gc; 
-    uint32_t       value_mask; 
-} xcb_change_gc_request_t;
-
-#define XCB_COPY_GC 57
-
-typedef struct xcb_copy_gc_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_gcontext_t src_gc; 
-    xcb_gcontext_t dst_gc; 
-    uint32_t       value_mask; 
-} xcb_copy_gc_request_t;
-
-#define XCB_SET_DASHES 58
-
-typedef struct xcb_set_dashes_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_gcontext_t gc; 
-    uint16_t       dash_offset; 
-    uint16_t       dashes_len; 
-} xcb_set_dashes_request_t;
-
-typedef enum xcb_clip_ordering_t {
-    XCB_CLIP_ORDERING_UNSORTED = 0,
-    XCB_CLIP_ORDERING_Y_SORTED = 1,
-    XCB_CLIP_ORDERING_YX_SORTED = 2,
-    XCB_CLIP_ORDERING_YX_BANDED = 3
-} xcb_clip_ordering_t;
-
-#define XCB_SET_CLIP_RECTANGLES 59
-
-typedef struct xcb_set_clip_rectangles_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        ordering; 
-    uint16_t       length; 
-    xcb_gcontext_t gc; 
-    int16_t        clip_x_origin; 
-    int16_t        clip_y_origin; 
-} xcb_set_clip_rectangles_request_t;
-
-#define XCB_FREE_GC 60
-
-typedef struct xcb_free_gc_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_gcontext_t gc; 
-} xcb_free_gc_request_t;
-
-#define XCB_CLEAR_AREA 61
-
-typedef struct xcb_clear_area_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      exposures; 
-    uint16_t     length; 
-    xcb_window_t window; 
-    int16_t      x; 
-    int16_t      y; 
-    uint16_t     width; 
-    uint16_t     height; 
-} xcb_clear_area_request_t;
-
-#define XCB_COPY_AREA 62
-
-typedef struct xcb_copy_area_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_drawable_t src_drawable; 
-    xcb_drawable_t dst_drawable; 
-    xcb_gcontext_t gc; 
-    int16_t        src_x; 
-    int16_t        src_y; 
-    int16_t        dst_x; 
-    int16_t        dst_y; 
-    uint16_t       width; 
-    uint16_t       height; 
-} xcb_copy_area_request_t;
-
-#define XCB_COPY_PLANE 63
-
-typedef struct xcb_copy_plane_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_drawable_t src_drawable; 
-    xcb_drawable_t dst_drawable; 
-    xcb_gcontext_t gc; 
-    int16_t        src_x; 
-    int16_t        src_y; 
-    int16_t        dst_x; 
-    int16_t        dst_y; 
-    uint16_t       width; 
-    uint16_t       height; 
-    uint32_t       bit_plane; 
-} xcb_copy_plane_request_t;
-
-typedef enum xcb_coord_mode_t {
-    XCB_COORD_MODE_ORIGIN = 0,
-    XCB_COORD_MODE_PREVIOUS = 1
-} xcb_coord_mode_t;
-
-#define XCB_POLY_POINT 64
-
-typedef struct xcb_poly_point_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        coordinate_mode; 
-    uint16_t       length; 
-    xcb_drawable_t drawable; 
-    xcb_gcontext_t gc; 
-} xcb_poly_point_request_t;
-
-#define XCB_POLY_LINE 65
-
-typedef struct xcb_poly_line_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        coordinate_mode; 
-    uint16_t       length; 
-    xcb_drawable_t drawable; 
-    xcb_gcontext_t gc; 
-} xcb_poly_line_request_t;
-
-typedef struct xcb_segment_t {
-    int16_t x1; 
-    int16_t y1; 
-    int16_t x2; 
-    int16_t y2; 
-} xcb_segment_t;
-
-typedef struct xcb_segment_iterator_t {
-    xcb_segment_t *data; 
-    int            rem; 
-    int            index; 
-} xcb_segment_iterator_t;
-
-#define XCB_POLY_SEGMENT 66
-
-typedef struct xcb_poly_segment_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_drawable_t drawable; 
-    xcb_gcontext_t gc; 
-} xcb_poly_segment_request_t;
-
-#define XCB_POLY_RECTANGLE 67
-
-typedef struct xcb_poly_rectangle_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_drawable_t drawable; 
-    xcb_gcontext_t gc; 
-} xcb_poly_rectangle_request_t;
-
-#define XCB_POLY_ARC 68
-
-typedef struct xcb_poly_arc_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_drawable_t drawable; 
-    xcb_gcontext_t gc; 
-} xcb_poly_arc_request_t;
-
-typedef enum xcb_poly_shape_t {
-    XCB_POLY_SHAPE_COMPLEX = 0,
-    XCB_POLY_SHAPE_NONCONVEX = 1,
-    XCB_POLY_SHAPE_CONVEX = 2
-} xcb_poly_shape_t;
-
-#define XCB_FILL_POLY 69
-
-typedef struct xcb_fill_poly_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_drawable_t drawable; 
-    xcb_gcontext_t gc; 
-    uint8_t        shape; 
-    uint8_t        coordinate_mode; 
-    uint8_t        pad1[2]; 
-} xcb_fill_poly_request_t;
-
-#define XCB_POLY_FILL_RECTANGLE 70
-
-typedef struct xcb_poly_fill_rectangle_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_drawable_t drawable; 
-    xcb_gcontext_t gc; 
-} xcb_poly_fill_rectangle_request_t;
-
-#define XCB_POLY_FILL_ARC 71
-
-typedef struct xcb_poly_fill_arc_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_drawable_t drawable; 
-    xcb_gcontext_t gc; 
-} xcb_poly_fill_arc_request_t;
-
-typedef enum xcb_image_format_t {
-    XCB_IMAGE_FORMAT_XY_BITMAP = 0,
-    XCB_IMAGE_FORMAT_XY_PIXMAP = 1,
-    XCB_IMAGE_FORMAT_Z_PIXMAP = 2
-} xcb_image_format_t;
-
-#define XCB_PUT_IMAGE 72
-
-typedef struct xcb_put_image_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        format; 
-    uint16_t       length; 
-    xcb_drawable_t drawable; 
-    xcb_gcontext_t gc; 
-    uint16_t       width; 
-    uint16_t       height; 
-    int16_t        dst_x; 
-    int16_t        dst_y; 
-    uint8_t        left_pad; 
-    uint8_t        depth; 
-    uint8_t        pad0[2]; 
-} xcb_put_image_request_t;
-
-typedef struct xcb_get_image_cookie_t {
-    unsigned int sequence; 
-} xcb_get_image_cookie_t;
-
-#define XCB_GET_IMAGE 73
-
-typedef struct xcb_get_image_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        format; 
-    uint16_t       length; 
-    xcb_drawable_t drawable; 
-    int16_t        x; 
-    int16_t        y; 
-    uint16_t       width; 
-    uint16_t       height; 
-    uint32_t       plane_mask; 
-} xcb_get_image_request_t;
-
-typedef struct xcb_get_image_reply_t {
-    uint8_t        response_type; 
-    uint8_t        depth; 
-    uint16_t       sequence; 
-    uint32_t       length; 
-    xcb_visualid_t visual; 
-    uint8_t        pad0[20]; 
-} xcb_get_image_reply_t;
-
-#define XCB_POLY_TEXT_8 74
-
-typedef struct xcb_poly_text_8_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_drawable_t drawable; 
-    xcb_gcontext_t gc; 
-    int16_t        x; 
-    int16_t        y; 
-} xcb_poly_text_8_request_t;
-
-#define XCB_POLY_TEXT_16 75
-
-typedef struct xcb_poly_text_16_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_drawable_t drawable; 
-    xcb_gcontext_t gc; 
-    int16_t        x; 
-    int16_t        y; 
-} xcb_poly_text_16_request_t;
-
-#define XCB_IMAGE_TEXT_8 76
-
-typedef struct xcb_image_text_8_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        string_len; 
-    uint16_t       length; 
-    xcb_drawable_t drawable; 
-    xcb_gcontext_t gc; 
-    int16_t        x; 
-    int16_t        y; 
-} xcb_image_text_8_request_t;
-
-#define XCB_IMAGE_TEXT_16 77
-
-typedef struct xcb_image_text_16_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        string_len; 
-    uint16_t       length; 
-    xcb_drawable_t drawable; 
-    xcb_gcontext_t gc; 
-    int16_t        x; 
-    int16_t        y; 
-} xcb_image_text_16_request_t;
-
-typedef enum xcb_colormap_alloc_t {
-    XCB_COLORMAP_ALLOC_NONE = 0,
-    XCB_COLORMAP_ALLOC_ALL = 1
-} xcb_colormap_alloc_t;
-
-#define XCB_CREATE_COLORMAP 78
-
-typedef struct xcb_create_colormap_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        alloc; 
-    uint16_t       length; 
-    xcb_colormap_t mid; 
-    xcb_window_t   window; 
-    xcb_visualid_t visual; 
-} xcb_create_colormap_request_t;
-
-#define XCB_FREE_COLORMAP 79
-
-typedef struct xcb_free_colormap_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_colormap_t cmap; 
-} xcb_free_colormap_request_t;
-
-#define XCB_COPY_COLORMAP_AND_FREE 80
-
-typedef struct xcb_copy_colormap_and_free_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_colormap_t mid; 
-    xcb_colormap_t src_cmap; 
-} xcb_copy_colormap_and_free_request_t;
-
-#define XCB_INSTALL_COLORMAP 81
-
-typedef struct xcb_install_colormap_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_colormap_t cmap; 
-} xcb_install_colormap_request_t;
-
-#define XCB_UNINSTALL_COLORMAP 82
-
-typedef struct xcb_uninstall_colormap_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_colormap_t cmap; 
-} xcb_uninstall_colormap_request_t;
-
-typedef struct xcb_list_installed_colormaps_cookie_t {
-    unsigned int sequence; 
-} xcb_list_installed_colormaps_cookie_t;
-
-#define XCB_LIST_INSTALLED_COLORMAPS 83
-
-typedef struct xcb_list_installed_colormaps_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      pad0; 
-    uint16_t     length; 
-    xcb_window_t window; 
-} xcb_list_installed_colormaps_request_t;
-
-typedef struct xcb_list_installed_colormaps_reply_t {
-    uint8_t  response_type; 
-    uint8_t  pad0; 
-    uint16_t sequence; 
-    uint32_t length; 
-    uint16_t cmaps_len; 
-    uint8_t  pad1[22]; 
-} xcb_list_installed_colormaps_reply_t;
-
-typedef struct xcb_alloc_color_cookie_t {
-    unsigned int sequence; 
-} xcb_alloc_color_cookie_t;
-
-#define XCB_ALLOC_COLOR 84
-
-typedef struct xcb_alloc_color_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_colormap_t cmap; 
-    uint16_t       red; 
-    uint16_t       green; 
-    uint16_t       blue; 
-    uint8_t        pad1[2]; 
-} xcb_alloc_color_request_t;
-
-typedef struct xcb_alloc_color_reply_t {
-    uint8_t  response_type; 
-    uint8_t  pad0; 
-    uint16_t sequence; 
-    uint32_t length; 
-    uint16_t red; 
-    uint16_t green; 
-    uint16_t blue; 
-    uint8_t  pad1[2]; 
-    uint32_t pixel; 
-} xcb_alloc_color_reply_t;
-
-typedef struct xcb_alloc_named_color_cookie_t {
-    unsigned int sequence; 
-} xcb_alloc_named_color_cookie_t;
-
-#define XCB_ALLOC_NAMED_COLOR 85
-
-typedef struct xcb_alloc_named_color_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_colormap_t cmap; 
-    uint16_t       name_len; 
-    uint8_t        pad1[2]; 
-} xcb_alloc_named_color_request_t;
-
-typedef struct xcb_alloc_named_color_reply_t {
-    uint8_t  response_type; 
-    uint8_t  pad0; 
-    uint16_t sequence; 
-    uint32_t length; 
-    uint32_t pixel; 
-    uint16_t exact_red; 
-    uint16_t exact_green; 
-    uint16_t exact_blue; 
-    uint16_t visual_red; 
-    uint16_t visual_green; 
-    uint16_t visual_blue; 
-} xcb_alloc_named_color_reply_t;
-
-typedef struct xcb_alloc_color_cells_cookie_t {
-    unsigned int sequence; 
-} xcb_alloc_color_cells_cookie_t;
-
-#define XCB_ALLOC_COLOR_CELLS 86
-
-typedef struct xcb_alloc_color_cells_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        contiguous; 
-    uint16_t       length; 
-    xcb_colormap_t cmap; 
-    uint16_t       colors; 
-    uint16_t       planes; 
-} xcb_alloc_color_cells_request_t;
-
-typedef struct xcb_alloc_color_cells_reply_t {
-    uint8_t  response_type; 
-    uint8_t  pad0; 
-    uint16_t sequence; 
-    uint32_t length; 
-    uint16_t pixels_len; 
-    uint16_t masks_len; 
-    uint8_t  pad1[20]; 
-} xcb_alloc_color_cells_reply_t;
-
-typedef struct xcb_alloc_color_planes_cookie_t {
-    unsigned int sequence; 
-} xcb_alloc_color_planes_cookie_t;
-
-#define XCB_ALLOC_COLOR_PLANES 87
-
-typedef struct xcb_alloc_color_planes_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        contiguous; 
-    uint16_t       length; 
-    xcb_colormap_t cmap; 
-    uint16_t       colors; 
-    uint16_t       reds; 
-    uint16_t       greens; 
-    uint16_t       blues; 
-} xcb_alloc_color_planes_request_t;
-
-typedef struct xcb_alloc_color_planes_reply_t {
-    uint8_t  response_type; 
-    uint8_t  pad0; 
-    uint16_t sequence; 
-    uint32_t length; 
-    uint16_t pixels_len; 
-    uint8_t  pad1[2]; 
-    uint32_t red_mask; 
-    uint32_t green_mask; 
-    uint32_t blue_mask; 
-    uint8_t  pad2[8]; 
-} xcb_alloc_color_planes_reply_t;
-
-#define XCB_FREE_COLORS 88
-
-typedef struct xcb_free_colors_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_colormap_t cmap; 
-    uint32_t       plane_mask; 
-} xcb_free_colors_request_t;
-
-typedef enum xcb_color_flag_t {
-    XCB_COLOR_FLAG_RED = 1,
-    XCB_COLOR_FLAG_GREEN = 2,
-    XCB_COLOR_FLAG_BLUE = 4
-} xcb_color_flag_t;
-
-typedef struct xcb_coloritem_t {
-    uint32_t pixel; 
-    uint16_t red; 
-    uint16_t green; 
-    uint16_t blue; 
-    uint8_t  flags; 
-    uint8_t  pad0; 
-} xcb_coloritem_t;
-
-typedef struct xcb_coloritem_iterator_t {
-    xcb_coloritem_t *data; 
-    int              rem; 
-    int              index; 
-} xcb_coloritem_iterator_t;
-
-#define XCB_STORE_COLORS 89
-
-typedef struct xcb_store_colors_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_colormap_t cmap; 
-} xcb_store_colors_request_t;
-
-#define XCB_STORE_NAMED_COLOR 90
-
-typedef struct xcb_store_named_color_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        flags; 
-    uint16_t       length; 
-    xcb_colormap_t cmap; 
-    uint32_t       pixel; 
-    uint16_t       name_len; 
-    uint8_t        pad0[2]; 
-} xcb_store_named_color_request_t;
-
-typedef struct xcb_rgb_t {
-    uint16_t red; 
-    uint16_t green; 
-    uint16_t blue; 
-    uint8_t  pad0[2]; 
-} xcb_rgb_t;
-
-typedef struct xcb_rgb_iterator_t {
-    xcb_rgb_t *data; 
-    int        rem; 
-    int        index; 
-} xcb_rgb_iterator_t;
-
-typedef struct xcb_query_colors_cookie_t {
-    unsigned int sequence; 
-} xcb_query_colors_cookie_t;
-
-#define XCB_QUERY_COLORS 91
-
-typedef struct xcb_query_colors_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_colormap_t cmap; 
-} xcb_query_colors_request_t;
-
-typedef struct xcb_query_colors_reply_t {
-    uint8_t  response_type; 
-    uint8_t  pad0; 
-    uint16_t sequence; 
-    uint32_t length; 
-    uint16_t colors_len; 
-    uint8_t  pad1[22]; 
-} xcb_query_colors_reply_t;
-
-typedef struct xcb_lookup_color_cookie_t {
-    unsigned int sequence; 
-} xcb_lookup_color_cookie_t;
-
-#define XCB_LOOKUP_COLOR 92
-
-typedef struct xcb_lookup_color_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        pad0; 
-    uint16_t       length; 
-    xcb_colormap_t cmap; 
-    uint16_t       name_len; 
-    uint8_t        pad1[2]; 
-} xcb_lookup_color_request_t;
-
-typedef struct xcb_lookup_color_reply_t {
-    uint8_t  response_type; 
-    uint8_t  pad0; 
-    uint16_t sequence; 
-    uint32_t length; 
-    uint16_t exact_red; 
-    uint16_t exact_green; 
-    uint16_t exact_blue; 
-    uint16_t visual_red; 
-    uint16_t visual_green; 
-    uint16_t visual_blue; 
-} xcb_lookup_color_reply_t;
-
-typedef enum xcb_pixmap_enum_t {
-    XCB_PIXMAP_NONE = 0
-} xcb_pixmap_enum_t;
-
-#define XCB_CREATE_CURSOR 93
-
-typedef struct xcb_create_cursor_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      pad0; 
-    uint16_t     length; 
-    xcb_cursor_t cid; 
-    xcb_pixmap_t source; 
-    xcb_pixmap_t mask; 
-    uint16_t     fore_red; 
-    uint16_t     fore_green; 
-    uint16_t     fore_blue; 
-    uint16_t     back_red; 
-    uint16_t     back_green; 
-    uint16_t     back_blue; 
-    uint16_t     x; 
-    uint16_t     y; 
-} xcb_create_cursor_request_t;
-
-typedef enum xcb_font_enum_t {
-    XCB_FONT_NONE = 0
-} xcb_font_enum_t;
-
-#define XCB_CREATE_GLYPH_CURSOR 94
-
-typedef struct xcb_create_glyph_cursor_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      pad0; 
-    uint16_t     length; 
-    xcb_cursor_t cid; 
-    xcb_font_t   source_font; 
-    xcb_font_t   mask_font; 
-    uint16_t     source_char; 
-    uint16_t     mask_char; 
-    uint16_t     fore_red; 
-    uint16_t     fore_green; 
-    uint16_t     fore_blue; 
-    uint16_t     back_red; 
-    uint16_t     back_green; 
-    uint16_t     back_blue; 
-} xcb_create_glyph_cursor_request_t;
-
-#define XCB_FREE_CURSOR 95
-
-typedef struct xcb_free_cursor_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      pad0; 
-    uint16_t     length; 
-    xcb_cursor_t cursor; 
-} xcb_free_cursor_request_t;
-
-#define XCB_RECOLOR_CURSOR 96
-
-typedef struct xcb_recolor_cursor_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      pad0; 
-    uint16_t     length; 
-    xcb_cursor_t cursor; 
-    uint16_t     fore_red; 
-    uint16_t     fore_green; 
-    uint16_t     fore_blue; 
-    uint16_t     back_red; 
-    uint16_t     back_green; 
-    uint16_t     back_blue; 
-} xcb_recolor_cursor_request_t;
-
-typedef enum xcb_query_shape_of_t {
-    XCB_QUERY_SHAPE_OF_LARGEST_CURSOR = 0,
-    XCB_QUERY_SHAPE_OF_FASTEST_TILE = 1,
-    XCB_QUERY_SHAPE_OF_FASTEST_STIPPLE = 2
-} xcb_query_shape_of_t;
-
-typedef struct xcb_query_best_size_cookie_t {
-    unsigned int sequence; 
-} xcb_query_best_size_cookie_t;
-
-#define XCB_QUERY_BEST_SIZE 97
-
-typedef struct xcb_query_best_size_request_t {
-    uint8_t        major_opcode; 
-    uint8_t        _class; 
-    uint16_t       length; 
-    xcb_drawable_t drawable; 
-    uint16_t       width; 
-    uint16_t       height; 
-} xcb_query_best_size_request_t;
-
-typedef struct xcb_query_best_size_reply_t {
-    uint8_t  response_type; 
-    uint8_t  pad0; 
-    uint16_t sequence; 
-    uint32_t length; 
-    uint16_t width; 
-    uint16_t height; 
-} xcb_query_best_size_reply_t;
-
-typedef struct xcb_query_extension_cookie_t {
-    unsigned int sequence; 
-} xcb_query_extension_cookie_t;
-
-#define XCB_QUERY_EXTENSION 98
-
-typedef struct xcb_query_extension_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  pad0; 
-    uint16_t length; 
-    uint16_t name_len; 
-    uint8_t  pad1[2]; 
-} xcb_query_extension_request_t;
-
-typedef struct xcb_query_extension_reply_t {
-    uint8_t  response_type; 
-    uint8_t  pad0; 
-    uint16_t sequence; 
-    uint32_t length; 
-    uint8_t  present; 
-    uint8_t  major_opcode; 
-    uint8_t  first_event; 
-    uint8_t  first_error; 
-} xcb_query_extension_reply_t;
-
-typedef struct xcb_list_extensions_cookie_t {
-    unsigned int sequence; 
-} xcb_list_extensions_cookie_t;
-
-#define XCB_LIST_EXTENSIONS 99
-
-typedef struct xcb_list_extensions_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  pad0; 
-    uint16_t length; 
-} xcb_list_extensions_request_t;
-
-typedef struct xcb_list_extensions_reply_t {
-    uint8_t  response_type; 
-    uint8_t  names_len; 
-    uint16_t sequence; 
-    uint32_t length; 
-    uint8_t  pad0[24]; 
-} xcb_list_extensions_reply_t;
-
-#define XCB_CHANGE_KEYBOARD_MAPPING 100
-
-typedef struct xcb_change_keyboard_mapping_request_t {
-    uint8_t       major_opcode; 
-    uint8_t       keycode_count; 
-    uint16_t      length; 
-    xcb_keycode_t first_keycode; 
-    uint8_t       keysyms_per_keycode; 
-    uint8_t       pad0[2]; 
-} xcb_change_keyboard_mapping_request_t;
-
-typedef struct xcb_get_keyboard_mapping_cookie_t {
-    unsigned int sequence; 
-} xcb_get_keyboard_mapping_cookie_t;
-
-#define XCB_GET_KEYBOARD_MAPPING 101
-
-typedef struct xcb_get_keyboard_mapping_request_t {
-    uint8_t       major_opcode; 
-    uint8_t       pad0; 
-    uint16_t      length; 
-    xcb_keycode_t first_keycode; 
-    uint8_t       count; 
-} xcb_get_keyboard_mapping_request_t;
-
-typedef struct xcb_get_keyboard_mapping_reply_t {
-    uint8_t  response_type; 
-    uint8_t  keysyms_per_keycode; 
-    uint16_t sequence; 
-    uint32_t length; 
-    uint8_t  pad0[24]; 
-} xcb_get_keyboard_mapping_reply_t;
-
-typedef enum xcb_kb_t {
-    XCB_KB_KEY_CLICK_PERCENT = 1,
-    XCB_KB_BELL_PERCENT = 2,
-    XCB_KB_BELL_PITCH = 4,
-    XCB_KB_BELL_DURATION = 8,
-    XCB_KB_LED = 16,
-    XCB_KB_LED_MODE = 32,
-    XCB_KB_KEY = 64,
-    XCB_KB_AUTO_REPEAT_MODE = 128
-} xcb_kb_t;
-
-typedef enum xcb_led_mode_t {
-    XCB_LED_MODE_OFF = 0,
-    XCB_LED_MODE_ON = 1
-} xcb_led_mode_t;
-
-typedef enum xcb_auto_repeat_mode_t {
-    XCB_AUTO_REPEAT_MODE_OFF = 0,
-    XCB_AUTO_REPEAT_MODE_ON = 1,
-    XCB_AUTO_REPEAT_MODE_DEFAULT = 2
-} xcb_auto_repeat_mode_t;
-
-#define XCB_CHANGE_KEYBOARD_CONTROL 102
-
-typedef struct xcb_change_keyboard_control_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  pad0; 
-    uint16_t length; 
-    uint32_t value_mask; 
-} xcb_change_keyboard_control_request_t;
-
-typedef struct xcb_get_keyboard_control_cookie_t {
-    unsigned int sequence; 
-} xcb_get_keyboard_control_cookie_t;
-
-#define XCB_GET_KEYBOARD_CONTROL 103
-
-typedef struct xcb_get_keyboard_control_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  pad0; 
-    uint16_t length; 
-} xcb_get_keyboard_control_request_t;
-
-typedef struct xcb_get_keyboard_control_reply_t {
-    uint8_t  response_type; 
-    uint8_t  global_auto_repeat; 
-    uint16_t sequence; 
-    uint32_t length; 
-    uint32_t led_mask; 
-    uint8_t  key_click_percent; 
-    uint8_t  bell_percent; 
-    uint16_t bell_pitch; 
-    uint16_t bell_duration; 
-    uint8_t  pad0[2]; 
-    uint8_t  auto_repeats[32]; 
-} xcb_get_keyboard_control_reply_t;
-
-#define XCB_BELL 104
-
-typedef struct xcb_bell_request_t {
-    uint8_t  major_opcode; 
-    int8_t   percent; 
-    uint16_t length; 
-} xcb_bell_request_t;
-
-#define XCB_CHANGE_POINTER_CONTROL 105
-
-typedef struct xcb_change_pointer_control_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  pad0; 
-    uint16_t length; 
-    int16_t  acceleration_numerator; 
-    int16_t  acceleration_denominator; 
-    int16_t  threshold; 
-    uint8_t  do_acceleration; 
-    uint8_t  do_threshold; 
-} xcb_change_pointer_control_request_t;
-
-typedef struct xcb_get_pointer_control_cookie_t {
-    unsigned int sequence; 
-} xcb_get_pointer_control_cookie_t;
-
-#define XCB_GET_POINTER_CONTROL 106
-
-typedef struct xcb_get_pointer_control_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  pad0; 
-    uint16_t length; 
-} xcb_get_pointer_control_request_t;
-
-typedef struct xcb_get_pointer_control_reply_t {
-    uint8_t  response_type; 
-    uint8_t  pad0; 
-    uint16_t sequence; 
-    uint32_t length; 
-    uint16_t acceleration_numerator; 
-    uint16_t acceleration_denominator; 
-    uint16_t threshold; 
-    uint8_t  pad1[18]; 
-} xcb_get_pointer_control_reply_t;
-
-typedef enum xcb_blanking_t {
-    XCB_BLANKING_NOT_PREFERRED = 0,
-    XCB_BLANKING_PREFERRED = 1,
-    XCB_BLANKING_DEFAULT = 2
-} xcb_blanking_t;
-
-typedef enum xcb_exposures_t {
-    XCB_EXPOSURES_NOT_ALLOWED = 0,
-    XCB_EXPOSURES_ALLOWED = 1,
-    XCB_EXPOSURES_DEFAULT = 2
-} xcb_exposures_t;
-
-#define XCB_SET_SCREEN_SAVER 107
-
-typedef struct xcb_set_screen_saver_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  pad0; 
-    uint16_t length; 
-    int16_t  timeout; 
-    int16_t  interval; 
-    uint8_t  prefer_blanking; 
-    uint8_t  allow_exposures; 
-} xcb_set_screen_saver_request_t;
-
-typedef struct xcb_get_screen_saver_cookie_t {
-    unsigned int sequence; 
-} xcb_get_screen_saver_cookie_t;
-
-#define XCB_GET_SCREEN_SAVER 108
-
-typedef struct xcb_get_screen_saver_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  pad0; 
-    uint16_t length; 
-} xcb_get_screen_saver_request_t;
-
-typedef struct xcb_get_screen_saver_reply_t {
-    uint8_t  response_type; 
-    uint8_t  pad0; 
-    uint16_t sequence; 
-    uint32_t length; 
-    uint16_t timeout; 
-    uint16_t interval; 
-    uint8_t  prefer_blanking; 
-    uint8_t  allow_exposures; 
-    uint8_t  pad1[18]; 
-} xcb_get_screen_saver_reply_t;
-
-typedef enum xcb_host_mode_t {
-    XCB_HOST_MODE_INSERT = 0,
-    XCB_HOST_MODE_DELETE = 1
-} xcb_host_mode_t;
-
-typedef enum xcb_family_t {
-    XCB_FAMILY_INTERNET = 0,
-    XCB_FAMILY_DECNET = 1,
-    XCB_FAMILY_CHAOS = 2,
-    XCB_FAMILY_SERVER_INTERPRETED = 5,
-    XCB_FAMILY_INTERNET_6 = 6
-} xcb_family_t;
-
-#define XCB_CHANGE_HOSTS 109
-
-typedef struct xcb_change_hosts_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  mode; 
-    uint16_t length; 
-    uint8_t  family; 
-    uint8_t  pad0; 
-    uint16_t address_len; 
-} xcb_change_hosts_request_t;
-
-typedef struct xcb_host_t {
-    uint8_t  family; 
-    uint8_t  pad0; 
-    uint16_t address_len; 
-} xcb_host_t;
-
-typedef struct xcb_host_iterator_t {
-    xcb_host_t *data; 
-    int         rem; 
-    int         index; 
-} xcb_host_iterator_t;
-
-typedef struct xcb_list_hosts_cookie_t {
-    unsigned int sequence; 
-} xcb_list_hosts_cookie_t;
-
-#define XCB_LIST_HOSTS 110
-
-typedef struct xcb_list_hosts_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  pad0; 
-    uint16_t length; 
-} xcb_list_hosts_request_t;
-
-typedef struct xcb_list_hosts_reply_t {
-    uint8_t  response_type; 
-    uint8_t  mode; 
-    uint16_t sequence; 
-    uint32_t length; 
-    uint16_t hosts_len; 
-    uint8_t  pad0[22]; 
-} xcb_list_hosts_reply_t;
-
-typedef enum xcb_access_control_t {
-    XCB_ACCESS_CONTROL_DISABLE = 0,
-    XCB_ACCESS_CONTROL_ENABLE = 1
-} xcb_access_control_t;
-
-#define XCB_SET_ACCESS_CONTROL 111
-
-typedef struct xcb_set_access_control_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  mode; 
-    uint16_t length; 
-} xcb_set_access_control_request_t;
-
-typedef enum xcb_close_down_t {
-    XCB_CLOSE_DOWN_DESTROY_ALL = 0,
-    XCB_CLOSE_DOWN_RETAIN_PERMANENT = 1,
-    XCB_CLOSE_DOWN_RETAIN_TEMPORARY = 2
-} xcb_close_down_t;
-
-#define XCB_SET_CLOSE_DOWN_MODE 112
-
-typedef struct xcb_set_close_down_mode_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  mode; 
-    uint16_t length; 
-} xcb_set_close_down_mode_request_t;
-
-typedef enum xcb_kill_t {
-    XCB_KILL_ALL_TEMPORARY = 0
-} xcb_kill_t;
-
-#define XCB_KILL_CLIENT 113
-
-typedef struct xcb_kill_client_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  pad0; 
-    uint16_t length; 
-    uint32_t resource; 
-} xcb_kill_client_request_t;
-
-#define XCB_ROTATE_PROPERTIES 114
-
-typedef struct xcb_rotate_properties_request_t {
-    uint8_t      major_opcode; 
-    uint8_t      pad0; 
-    uint16_t     length; 
-    xcb_window_t window; 
-    uint16_t     atoms_len; 
-    int16_t      delta; 
-} xcb_rotate_properties_request_t;
-
-typedef enum xcb_screen_saver_t {
-    XCB_SCREEN_SAVER_RESET = 0,
-    XCB_SCREEN_SAVER_ACTIVE = 1
-} xcb_screen_saver_t;
-
-#define XCB_FORCE_SCREEN_SAVER 115
-
-typedef struct xcb_force_screen_saver_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  mode; 
-    uint16_t length; 
-} xcb_force_screen_saver_request_t;
-
-typedef enum xcb_mapping_status_t {
-    XCB_MAPPING_STATUS_SUCCESS = 0,
-    XCB_MAPPING_STATUS_BUSY = 1,
-    XCB_MAPPING_STATUS_FAILURE = 2
-} xcb_mapping_status_t;
-
-typedef struct xcb_set_pointer_mapping_cookie_t {
-    unsigned int sequence; 
-} xcb_set_pointer_mapping_cookie_t;
-
-#define XCB_SET_POINTER_MAPPING 116
-
-typedef struct xcb_set_pointer_mapping_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  map_len; 
-    uint16_t length; 
-} xcb_set_pointer_mapping_request_t;
-
-typedef struct xcb_set_pointer_mapping_reply_t {
-    uint8_t  response_type; 
-    uint8_t  status; 
-    uint16_t sequence; 
-    uint32_t length; 
-} xcb_set_pointer_mapping_reply_t;
-
-typedef struct xcb_get_pointer_mapping_cookie_t {
-    unsigned int sequence; 
-} xcb_get_pointer_mapping_cookie_t;
-
-#define XCB_GET_POINTER_MAPPING 117
-
-typedef struct xcb_get_pointer_mapping_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  pad0; 
-    uint16_t length; 
-} xcb_get_pointer_mapping_request_t;
-
-typedef struct xcb_get_pointer_mapping_reply_t {
-    uint8_t  response_type; 
-    uint8_t  map_len; 
-    uint16_t sequence; 
-    uint32_t length; 
-    uint8_t  pad0[24]; 
-} xcb_get_pointer_mapping_reply_t;
-
-typedef enum xcb_map_index_t {
-    XCB_MAP_INDEX_SHIFT = 0,
-    XCB_MAP_INDEX_LOCK = 1,
-    XCB_MAP_INDEX_CONTROL = 2,
-    XCB_MAP_INDEX_1 = 3,
-    XCB_MAP_INDEX_2 = 4,
-    XCB_MAP_INDEX_3 = 5,
-    XCB_MAP_INDEX_4 = 6,
-    XCB_MAP_INDEX_5 = 7
-} xcb_map_index_t;
-
-typedef struct xcb_set_modifier_mapping_cookie_t {
-    unsigned int sequence; 
-} xcb_set_modifier_mapping_cookie_t;
-
-#define XCB_SET_MODIFIER_MAPPING 118
-
-typedef struct xcb_set_modifier_mapping_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  keycodes_per_modifier; 
-    uint16_t length; 
-} xcb_set_modifier_mapping_request_t;
-
-typedef struct xcb_set_modifier_mapping_reply_t {
-    uint8_t  response_type; 
-    uint8_t  status; 
-    uint16_t sequence; 
-    uint32_t length; 
-} xcb_set_modifier_mapping_reply_t;
-
-typedef struct xcb_get_modifier_mapping_cookie_t {
-    unsigned int sequence; 
-} xcb_get_modifier_mapping_cookie_t;
-
-#define XCB_GET_MODIFIER_MAPPING 119
-
-typedef struct xcb_get_modifier_mapping_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  pad0; 
-    uint16_t length; 
-} xcb_get_modifier_mapping_request_t;
-
-typedef struct xcb_get_modifier_mapping_reply_t {
-    uint8_t  response_type; 
-    uint8_t  keycodes_per_modifier; 
-    uint16_t sequence; 
-    uint32_t length; 
-    uint8_t  pad0[24]; 
-} xcb_get_modifier_mapping_reply_t;
-
-#define XCB_NO_OPERATION 127
-
-typedef struct xcb_no_operation_request_t {
-    uint8_t  major_opcode; 
-    uint8_t  pad0; 
-    uint16_t length; 
-} xcb_no_operation_request_t;
-
-void
-xcb_char2b_next (xcb_char2b_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_char2b_end (xcb_char2b_iterator_t i  );
-
-void
-xcb_window_next (xcb_window_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_window_end (xcb_window_iterator_t i  );
-
-void
-xcb_pixmap_next (xcb_pixmap_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_pixmap_end (xcb_pixmap_iterator_t i  );
-
-void
-xcb_cursor_next (xcb_cursor_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_cursor_end (xcb_cursor_iterator_t i  );
-
-void
-xcb_font_next (xcb_font_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_font_end (xcb_font_iterator_t i  );
-
-void
-xcb_gcontext_next (xcb_gcontext_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_gcontext_end (xcb_gcontext_iterator_t i  );
-
-void
-xcb_colormap_next (xcb_colormap_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_colormap_end (xcb_colormap_iterator_t i  );
-
-void
-xcb_atom_next (xcb_atom_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_atom_end (xcb_atom_iterator_t i  );
-
-void
-xcb_drawable_next (xcb_drawable_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_drawable_end (xcb_drawable_iterator_t i  );
-
-void
-xcb_fontable_next (xcb_fontable_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_fontable_end (xcb_fontable_iterator_t i  );
-
-void
-xcb_visualid_next (xcb_visualid_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_visualid_end (xcb_visualid_iterator_t i  );
-
-void
-xcb_timestamp_next (xcb_timestamp_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_timestamp_end (xcb_timestamp_iterator_t i  );
-
-void
-xcb_keysym_next (xcb_keysym_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_keysym_end (xcb_keysym_iterator_t i  );
-
-void
-xcb_keycode_next (xcb_keycode_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_keycode_end (xcb_keycode_iterator_t i  );
-
-void
-xcb_button_next (xcb_button_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_button_end (xcb_button_iterator_t i  );
-
-void
-xcb_point_next (xcb_point_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_point_end (xcb_point_iterator_t i  );
-
-void
-xcb_rectangle_next (xcb_rectangle_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_rectangle_end (xcb_rectangle_iterator_t i  );
-
-void
-xcb_arc_next (xcb_arc_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_arc_end (xcb_arc_iterator_t i  );
-
-void
-xcb_format_next (xcb_format_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_format_end (xcb_format_iterator_t i  );
-
-void
-xcb_visualtype_next (xcb_visualtype_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_visualtype_end (xcb_visualtype_iterator_t i  );
-
-int
-xcb_depth_sizeof (const void  *_buffer  );
-
-xcb_visualtype_t *
-xcb_depth_visuals (const xcb_depth_t *R  );
-
-int
-xcb_depth_visuals_length (const xcb_depth_t *R  );
-
-xcb_visualtype_iterator_t
-xcb_depth_visuals_iterator (const xcb_depth_t *R  );
-
-void
-xcb_depth_next (xcb_depth_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_depth_end (xcb_depth_iterator_t i  );
-
-int
-xcb_screen_sizeof (const void  *_buffer  );
-
-int
-xcb_screen_allowed_depths_length (const xcb_screen_t *R  );
-
-xcb_depth_iterator_t
-xcb_screen_allowed_depths_iterator (const xcb_screen_t *R  );
-
-void
-xcb_screen_next (xcb_screen_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_screen_end (xcb_screen_iterator_t i  );
-
-int
-xcb_setup_request_sizeof (const void  *_buffer  );
-
-char *
-xcb_setup_request_authorization_protocol_name (const xcb_setup_request_t *R  );
-
-int
-xcb_setup_request_authorization_protocol_name_length (const xcb_setup_request_t *R  );
-
-xcb_generic_iterator_t
-xcb_setup_request_authorization_protocol_name_end (const xcb_setup_request_t *R  );
-
-char *
-xcb_setup_request_authorization_protocol_data (const xcb_setup_request_t *R  );
-
-int
-xcb_setup_request_authorization_protocol_data_length (const xcb_setup_request_t *R  );
-
-xcb_generic_iterator_t
-xcb_setup_request_authorization_protocol_data_end (const xcb_setup_request_t *R  );
-
-void
-xcb_setup_request_next (xcb_setup_request_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_setup_request_end (xcb_setup_request_iterator_t i  );
-
-int
-xcb_setup_failed_sizeof (const void  *_buffer  );
-
-char *
-xcb_setup_failed_reason (const xcb_setup_failed_t *R  );
-
-int
-xcb_setup_failed_reason_length (const xcb_setup_failed_t *R  );
-
-xcb_generic_iterator_t
-xcb_setup_failed_reason_end (const xcb_setup_failed_t *R  );
-
-void
-xcb_setup_failed_next (xcb_setup_failed_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_setup_failed_end (xcb_setup_failed_iterator_t i  );
-
-int
-xcb_setup_authenticate_sizeof (const void  *_buffer  );
-
-char *
-xcb_setup_authenticate_reason (const xcb_setup_authenticate_t *R  );
-
-int
-xcb_setup_authenticate_reason_length (const xcb_setup_authenticate_t *R  );
-
-xcb_generic_iterator_t
-xcb_setup_authenticate_reason_end (const xcb_setup_authenticate_t *R  );
-
-void
-xcb_setup_authenticate_next (xcb_setup_authenticate_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_setup_authenticate_end (xcb_setup_authenticate_iterator_t i  );
-
-int
-xcb_setup_sizeof (const void  *_buffer  );
-
-char *
-xcb_setup_vendor (const xcb_setup_t *R  );
-
-int
-xcb_setup_vendor_length (const xcb_setup_t *R  );
-
-xcb_generic_iterator_t
-xcb_setup_vendor_end (const xcb_setup_t *R  );
-
-xcb_format_t *
-xcb_setup_pixmap_formats (const xcb_setup_t *R  );
-
-int
-xcb_setup_pixmap_formats_length (const xcb_setup_t *R  );
-
-xcb_format_iterator_t
-xcb_setup_pixmap_formats_iterator (const xcb_setup_t *R  );
-
-int
-xcb_setup_roots_length (const xcb_setup_t *R  );
-
-xcb_screen_iterator_t
-xcb_setup_roots_iterator (const xcb_setup_t *R  );
-
-void
-xcb_setup_next (xcb_setup_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_setup_end (xcb_setup_iterator_t i  );
-
-void
-xcb_client_message_data_next (xcb_client_message_data_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_client_message_data_end (xcb_client_message_data_iterator_t i  );
-
-int
-xcb_create_window_sizeof (const void  *_buffer  );
-
-xcb_void_cookie_t
-xcb_create_window_checked (xcb_connection_t *c  ,
-                           uint8_t           depth  ,
-                           xcb_window_t      wid  ,
-                           xcb_window_t      parent  ,
-                           int16_t           x  ,
-                           int16_t           y  ,
-                           uint16_t          width  ,
-                           uint16_t          height  ,
-                           uint16_t          border_width  ,
-                           uint16_t          _class  ,
-                           xcb_visualid_t    visual  ,
-                           uint32_t          value_mask  ,
-                           const uint32_t   *value_list  );
-
-xcb_void_cookie_t
-xcb_create_window (xcb_connection_t *c  ,
-                   uint8_t           depth  ,
-                   xcb_window_t      wid  ,
-                   xcb_window_t      parent  ,
-                   int16_t           x  ,
-                   int16_t           y  ,
-                   uint16_t          width  ,
-                   uint16_t          height  ,
-                   uint16_t          border_width  ,
-                   uint16_t          _class  ,
-                   xcb_visualid_t    visual  ,
-                   uint32_t          value_mask  ,
-                   const uint32_t   *value_list  );
-
-int
-xcb_change_window_attributes_sizeof (const void  *_buffer  );
-
-xcb_void_cookie_t
-xcb_change_window_attributes_checked (xcb_connection_t *c  ,
-                                      xcb_window_t      window  ,
-                                      uint32_t          value_mask  ,
-                                      const uint32_t   *value_list  );
-
-xcb_void_cookie_t
-xcb_change_window_attributes (xcb_connection_t *c  ,
-                              xcb_window_t      window  ,
-                              uint32_t          value_mask  ,
-                              const uint32_t   *value_list  );
-
-xcb_get_window_attributes_cookie_t
-xcb_get_window_attributes (xcb_connection_t *c  ,
-                           xcb_window_t      window  );
-
-xcb_get_window_attributes_cookie_t
-xcb_get_window_attributes_unchecked (xcb_connection_t *c  ,
-                                     xcb_window_t      window  );
-
-xcb_get_window_attributes_reply_t *
-xcb_get_window_attributes_reply (xcb_connection_t                    *c  ,
-                                 xcb_get_window_attributes_cookie_t   cookie  ,
-                                 xcb_generic_error_t                **e  );
-
-xcb_void_cookie_t
-xcb_destroy_window_checked (xcb_connection_t *c  ,
-                            xcb_window_t      window  );
-
-xcb_void_cookie_t
-xcb_destroy_window (xcb_connection_t *c  ,
-                    xcb_window_t      window  );
-
-xcb_void_cookie_t
-xcb_destroy_subwindows_checked (xcb_connection_t *c  ,
-                                xcb_window_t      window  );
-
-xcb_void_cookie_t
-xcb_destroy_subwindows (xcb_connection_t *c  ,
-                        xcb_window_t      window  );
-
-xcb_void_cookie_t
-xcb_change_save_set_checked (xcb_connection_t *c  ,
-                             uint8_t           mode  ,
-                             xcb_window_t      window  );
-
-xcb_void_cookie_t
-xcb_change_save_set (xcb_connection_t *c  ,
-                     uint8_t           mode  ,
-                     xcb_window_t      window  );
-
-xcb_void_cookie_t
-xcb_reparent_window_checked (xcb_connection_t *c  ,
-                             xcb_window_t      window  ,
-                             xcb_window_t      parent  ,
-                             int16_t           x  ,
-                             int16_t           y  );
-
-xcb_void_cookie_t
-xcb_reparent_window (xcb_connection_t *c  ,
-                     xcb_window_t      window  ,
-                     xcb_window_t      parent  ,
-                     int16_t           x  ,
-                     int16_t           y  );
-
-xcb_void_cookie_t
-xcb_map_window_checked (xcb_connection_t *c  ,
-                        xcb_window_t      window  );
-
-xcb_void_cookie_t
-xcb_map_window (xcb_connection_t *c  ,
-                xcb_window_t      window  );
-
-xcb_void_cookie_t
-xcb_map_subwindows_checked (xcb_connection_t *c  ,
-                            xcb_window_t      window  );
-
-xcb_void_cookie_t
-xcb_map_subwindows (xcb_connection_t *c  ,
-                    xcb_window_t      window  );
-
-xcb_void_cookie_t
-xcb_unmap_window_checked (xcb_connection_t *c  ,
-                          xcb_window_t      window  );
-
-xcb_void_cookie_t
-xcb_unmap_window (xcb_connection_t *c  ,
-                  xcb_window_t      window  );
-
-xcb_void_cookie_t
-xcb_unmap_subwindows_checked (xcb_connection_t *c  ,
-                              xcb_window_t      window  );
-
-xcb_void_cookie_t
-xcb_unmap_subwindows (xcb_connection_t *c  ,
-                      xcb_window_t      window  );
-
-int
-xcb_configure_window_sizeof (const void  *_buffer  );
-
-xcb_void_cookie_t
-xcb_configure_window_checked (xcb_connection_t *c  ,
-                              xcb_window_t      window  ,
-                              uint16_t          value_mask  ,
-                              const uint32_t   *value_list  );
-
-xcb_void_cookie_t
-xcb_configure_window (xcb_connection_t *c  ,
-                      xcb_window_t      window  ,
-                      uint16_t          value_mask  ,
-                      const uint32_t   *value_list  );
-
-xcb_void_cookie_t
-xcb_circulate_window_checked (xcb_connection_t *c  ,
-                              uint8_t           direction  ,
-                              xcb_window_t      window  );
-
-xcb_void_cookie_t
-xcb_circulate_window (xcb_connection_t *c  ,
-                      uint8_t           direction  ,
-                      xcb_window_t      window  );
-
-xcb_get_geometry_cookie_t
-xcb_get_geometry (xcb_connection_t *c  ,
-                  xcb_drawable_t    drawable  );
-
-xcb_get_geometry_cookie_t
-xcb_get_geometry_unchecked (xcb_connection_t *c  ,
-                            xcb_drawable_t    drawable  );
-
-xcb_get_geometry_reply_t *
-xcb_get_geometry_reply (xcb_connection_t           *c  ,
-                        xcb_get_geometry_cookie_t   cookie  ,
-                        xcb_generic_error_t       **e  );
-
-int
-xcb_query_tree_sizeof (const void  *_buffer  );
-
-xcb_query_tree_cookie_t
-xcb_query_tree (xcb_connection_t *c  ,
-                xcb_window_t      window  );
-
-xcb_query_tree_cookie_t
-xcb_query_tree_unchecked (xcb_connection_t *c  ,
-                          xcb_window_t      window  );
-
-xcb_window_t *
-xcb_query_tree_children (const xcb_query_tree_reply_t *R  );
-
-int
-xcb_query_tree_children_length (const xcb_query_tree_reply_t *R  );
-
-xcb_generic_iterator_t
-xcb_query_tree_children_end (const xcb_query_tree_reply_t *R  );
-
-xcb_query_tree_reply_t *
-xcb_query_tree_reply (xcb_connection_t         *c  ,
-                      xcb_query_tree_cookie_t   cookie  ,
-                      xcb_generic_error_t     **e  );
-
-int
-xcb_intern_atom_sizeof (const void  *_buffer  );
-
-xcb_intern_atom_cookie_t
-xcb_intern_atom (xcb_connection_t *c  ,
-                 uint8_t           only_if_exists  ,
-                 uint16_t          name_len  ,
-                 const char       *name  );
-
-xcb_intern_atom_cookie_t
-xcb_intern_atom_unchecked (xcb_connection_t *c  ,
-                           uint8_t           only_if_exists  ,
-                           uint16_t          name_len  ,
-                           const char       *name  );
-
-xcb_intern_atom_reply_t *
-xcb_intern_atom_reply (xcb_connection_t          *c  ,
-                       xcb_intern_atom_cookie_t   cookie  ,
-                       xcb_generic_error_t      **e  );
-
-int
-xcb_get_atom_name_sizeof (const void  *_buffer  );
-
-xcb_get_atom_name_cookie_t
-xcb_get_atom_name (xcb_connection_t *c  ,
-                   xcb_atom_t        atom  );
-
-xcb_get_atom_name_cookie_t
-xcb_get_atom_name_unchecked (xcb_connection_t *c  ,
-                             xcb_atom_t        atom  );
-
-char *
-xcb_get_atom_name_name (const xcb_get_atom_name_reply_t *R  );
-
-int
-xcb_get_atom_name_name_length (const xcb_get_atom_name_reply_t *R  );
-
-xcb_generic_iterator_t
-xcb_get_atom_name_name_end (const xcb_get_atom_name_reply_t *R  );
-
-xcb_get_atom_name_reply_t *
-xcb_get_atom_name_reply (xcb_connection_t            *c  ,
-                         xcb_get_atom_name_cookie_t   cookie  ,
-                         xcb_generic_error_t        **e  );
-
-int
-xcb_change_property_sizeof (const void  *_buffer  );
-
-xcb_void_cookie_t
-xcb_change_property_checked (xcb_connection_t *c  ,
-                             uint8_t           mode  ,
-                             xcb_window_t      window  ,
-                             xcb_atom_t        property  ,
-                             xcb_atom_t        type  ,
-                             uint8_t           format  ,
-                             uint32_t          data_len  ,
-                             const void       *data  );
-
-xcb_void_cookie_t
-xcb_change_property (xcb_connection_t *c  ,
-                     uint8_t           mode  ,
-                     xcb_window_t      window  ,
-                     xcb_atom_t        property  ,
-                     xcb_atom_t        type  ,
-                     uint8_t           format  ,
-                     uint32_t          data_len  ,
-                     const void       *data  );
-
-xcb_void_cookie_t
-xcb_delete_property_checked (xcb_connection_t *c  ,
-                             xcb_window_t      window  ,
-                             xcb_atom_t        property  );
-
-xcb_void_cookie_t
-xcb_delete_property (xcb_connection_t *c  ,
-                     xcb_window_t      window  ,
-                     xcb_atom_t        property  );
-
-int
-xcb_get_property_sizeof (const void  *_buffer  );
-
-xcb_get_property_cookie_t
-xcb_get_property (xcb_connection_t *c  ,
-                  uint8_t           _delete  ,
-                  xcb_window_t      window  ,
-                  xcb_atom_t        property  ,
-                  xcb_atom_t        type  ,
-                  uint32_t          long_offset  ,
-                  uint32_t          long_length  );
-
-xcb_get_property_cookie_t
-xcb_get_property_unchecked (xcb_connection_t *c  ,
-                            uint8_t           _delete  ,
-                            xcb_window_t      window  ,
-                            xcb_atom_t        property  ,
-                            xcb_atom_t        type  ,
-                            uint32_t          long_offset  ,
-                            uint32_t          long_length  );
-
-void *
-xcb_get_property_value (const xcb_get_property_reply_t *R  );
-
-int
-xcb_get_property_value_length (const xcb_get_property_reply_t *R  );
-
-xcb_generic_iterator_t
-xcb_get_property_value_end (const xcb_get_property_reply_t *R  );
-
-xcb_get_property_reply_t *
-xcb_get_property_reply (xcb_connection_t           *c  ,
-                        xcb_get_property_cookie_t   cookie  ,
-                        xcb_generic_error_t       **e  );
-
-int
-xcb_list_properties_sizeof (const void  *_buffer  );
-
-xcb_list_properties_cookie_t
-xcb_list_properties (xcb_connection_t *c  ,
-                     xcb_window_t      window  );
-
-xcb_list_properties_cookie_t
-xcb_list_properties_unchecked (xcb_connection_t *c  ,
-                               xcb_window_t      window  );
-
-xcb_atom_t *
-xcb_list_properties_atoms (const xcb_list_properties_reply_t *R  );
-
-int
-xcb_list_properties_atoms_length (const xcb_list_properties_reply_t *R  );
-
-xcb_generic_iterator_t
-xcb_list_properties_atoms_end (const xcb_list_properties_reply_t *R  );
-
-xcb_list_properties_reply_t *
-xcb_list_properties_reply (xcb_connection_t              *c  ,
-                           xcb_list_properties_cookie_t   cookie  ,
-                           xcb_generic_error_t          **e  );
-
-xcb_void_cookie_t
-xcb_set_selection_owner_checked (xcb_connection_t *c  ,
-                                 xcb_window_t      owner  ,
-                                 xcb_atom_t        selection  ,
-                                 xcb_timestamp_t   time  );
-
-xcb_void_cookie_t
-xcb_set_selection_owner (xcb_connection_t *c  ,
-                         xcb_window_t      owner  ,
-                         xcb_atom_t        selection  ,
-                         xcb_timestamp_t   time  );
-
-xcb_get_selection_owner_cookie_t
-xcb_get_selection_owner (xcb_connection_t *c  ,
-                         xcb_atom_t        selection  );
-
-xcb_get_selection_owner_cookie_t
-xcb_get_selection_owner_unchecked (xcb_connection_t *c  ,
-                                   xcb_atom_t        selection  );
-
-xcb_get_selection_owner_reply_t *
-xcb_get_selection_owner_reply (xcb_connection_t                  *c  ,
-                               xcb_get_selection_owner_cookie_t   cookie  ,
-                               xcb_generic_error_t              **e  );
-
-xcb_void_cookie_t
-xcb_convert_selection_checked (xcb_connection_t *c  ,
-                               xcb_window_t      requestor  ,
-                               xcb_atom_t        selection  ,
-                               xcb_atom_t        target  ,
-                               xcb_atom_t        property  ,
-                               xcb_timestamp_t   time  );
-
-xcb_void_cookie_t
-xcb_convert_selection (xcb_connection_t *c  ,
-                       xcb_window_t      requestor  ,
-                       xcb_atom_t        selection  ,
-                       xcb_atom_t        target  ,
-                       xcb_atom_t        property  ,
-                       xcb_timestamp_t   time  );
-
-xcb_void_cookie_t
-xcb_send_event_checked (xcb_connection_t *c  ,
-                        uint8_t           propagate  ,
-                        xcb_window_t      destination  ,
-                        uint32_t          event_mask  ,
-                        const char       *event  );
-
-xcb_void_cookie_t
-xcb_send_event (xcb_connection_t *c  ,
-                uint8_t           propagate  ,
-                xcb_window_t      destination  ,
-                uint32_t          event_mask  ,
-                const char       *event  );
-
-xcb_grab_pointer_cookie_t
-xcb_grab_pointer (xcb_connection_t *c  ,
-                  uint8_t           owner_events  ,
-                  xcb_window_t      grab_window  ,
-                  uint16_t          event_mask  ,
-                  uint8_t           pointer_mode  ,
-                  uint8_t           keyboard_mode  ,
-                  xcb_window_t      confine_to  ,
-                  xcb_cursor_t      cursor  ,
-                  xcb_timestamp_t   time  );
-
-xcb_grab_pointer_cookie_t
-xcb_grab_pointer_unchecked (xcb_connection_t *c  ,
-                            uint8_t           owner_events  ,
-                            xcb_window_t      grab_window  ,
-                            uint16_t          event_mask  ,
-                            uint8_t           pointer_mode  ,
-                            uint8_t           keyboard_mode  ,
-                            xcb_window_t      confine_to  ,
-                            xcb_cursor_t      cursor  ,
-                            xcb_timestamp_t   time  );
-
-xcb_grab_pointer_reply_t *
-xcb_grab_pointer_reply (xcb_connection_t           *c  ,
-                        xcb_grab_pointer_cookie_t   cookie  ,
-                        xcb_generic_error_t       **e  );
-
-xcb_void_cookie_t
-xcb_ungrab_pointer_checked (xcb_connection_t *c  ,
-                            xcb_timestamp_t   time  );
-
-xcb_void_cookie_t
-xcb_ungrab_pointer (xcb_connection_t *c  ,
-                    xcb_timestamp_t   time  );
-
-xcb_void_cookie_t
-xcb_grab_button_checked (xcb_connection_t *c  ,
-                         uint8_t           owner_events  ,
-                         xcb_window_t      grab_window  ,
-                         uint16_t          event_mask  ,
-                         uint8_t           pointer_mode  ,
-                         uint8_t           keyboard_mode  ,
-                         xcb_window_t      confine_to  ,
-                         xcb_cursor_t      cursor  ,
-                         uint8_t           button  ,
-                         uint16_t          modifiers  );
-
-xcb_void_cookie_t
-xcb_grab_button (xcb_connection_t *c  ,
-                 uint8_t           owner_events  ,
-                 xcb_window_t      grab_window  ,
-                 uint16_t          event_mask  ,
-                 uint8_t           pointer_mode  ,
-                 uint8_t           keyboard_mode  ,
-                 xcb_window_t      confine_to  ,
-                 xcb_cursor_t      cursor  ,
-                 uint8_t           button  ,
-                 uint16_t          modifiers  );
-
-xcb_void_cookie_t
-xcb_ungrab_button_checked (xcb_connection_t *c  ,
-                           uint8_t           button  ,
-                           xcb_window_t      grab_window  ,
-                           uint16_t          modifiers  );
-
-xcb_void_cookie_t
-xcb_ungrab_button (xcb_connection_t *c  ,
-                   uint8_t           button  ,
-                   xcb_window_t      grab_window  ,
-                   uint16_t          modifiers  );
-
-xcb_void_cookie_t
-xcb_change_active_pointer_grab_checked (xcb_connection_t *c  ,
-                                        xcb_cursor_t      cursor  ,
-                                        xcb_timestamp_t   time  ,
-                                        uint16_t          event_mask  );
-
-xcb_void_cookie_t
-xcb_change_active_pointer_grab (xcb_connection_t *c  ,
-                                xcb_cursor_t      cursor  ,
-                                xcb_timestamp_t   time  ,
-                                uint16_t          event_mask  );
-
-xcb_grab_keyboard_cookie_t
-xcb_grab_keyboard (xcb_connection_t *c  ,
-                   uint8_t           owner_events  ,
-                   xcb_window_t      grab_window  ,
-                   xcb_timestamp_t   time  ,
-                   uint8_t           pointer_mode  ,
-                   uint8_t           keyboard_mode  );
-
-xcb_grab_keyboard_cookie_t
-xcb_grab_keyboard_unchecked (xcb_connection_t *c  ,
-                             uint8_t           owner_events  ,
-                             xcb_window_t      grab_window  ,
-                             xcb_timestamp_t   time  ,
-                             uint8_t           pointer_mode  ,
-                             uint8_t           keyboard_mode  );
-
-xcb_grab_keyboard_reply_t *
-xcb_grab_keyboard_reply (xcb_connection_t            *c  ,
-                         xcb_grab_keyboard_cookie_t   cookie  ,
-                         xcb_generic_error_t        **e  );
-
-xcb_void_cookie_t
-xcb_ungrab_keyboard_checked (xcb_connection_t *c  ,
-                             xcb_timestamp_t   time  );
-
-xcb_void_cookie_t
-xcb_ungrab_keyboard (xcb_connection_t *c  ,
-                     xcb_timestamp_t   time  );
-
-xcb_void_cookie_t
-xcb_grab_key_checked (xcb_connection_t *c  ,
-                      uint8_t           owner_events  ,
-                      xcb_window_t      grab_window  ,
-                      uint16_t          modifiers  ,
-                      xcb_keycode_t     key  ,
-                      uint8_t           pointer_mode  ,
-                      uint8_t           keyboard_mode  );
-
-xcb_void_cookie_t
-xcb_grab_key (xcb_connection_t *c  ,
-              uint8_t           owner_events  ,
-              xcb_window_t      grab_window  ,
-              uint16_t          modifiers  ,
-              xcb_keycode_t     key  ,
-              uint8_t           pointer_mode  ,
-              uint8_t           keyboard_mode  );
-
-xcb_void_cookie_t
-xcb_ungrab_key_checked (xcb_connection_t *c  ,
-                        xcb_keycode_t     key  ,
-                        xcb_window_t      grab_window  ,
-                        uint16_t          modifiers  );
-
-xcb_void_cookie_t
-xcb_ungrab_key (xcb_connection_t *c  ,
-                xcb_keycode_t     key  ,
-                xcb_window_t      grab_window  ,
-                uint16_t          modifiers  );
-
-xcb_void_cookie_t
-xcb_allow_events_checked (xcb_connection_t *c  ,
-                          uint8_t           mode  ,
-                          xcb_timestamp_t   time  );
-
-xcb_void_cookie_t
-xcb_allow_events (xcb_connection_t *c  ,
-                  uint8_t           mode  ,
-                  xcb_timestamp_t   time  );
-
-xcb_void_cookie_t
-xcb_grab_server_checked (xcb_connection_t *c  );
-
-xcb_void_cookie_t
-xcb_grab_server (xcb_connection_t *c  );
-
-xcb_void_cookie_t
-xcb_ungrab_server_checked (xcb_connection_t *c  );
-
-xcb_void_cookie_t
-xcb_ungrab_server (xcb_connection_t *c  );
-
-xcb_query_pointer_cookie_t
-xcb_query_pointer (xcb_connection_t *c  ,
-                   xcb_window_t      window  );
-
-xcb_query_pointer_cookie_t
-xcb_query_pointer_unchecked (xcb_connection_t *c  ,
-                             xcb_window_t      window  );
-
-xcb_query_pointer_reply_t *
-xcb_query_pointer_reply (xcb_connection_t            *c  ,
-                         xcb_query_pointer_cookie_t   cookie  ,
-                         xcb_generic_error_t        **e  );
-
-void
-xcb_timecoord_next (xcb_timecoord_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_timecoord_end (xcb_timecoord_iterator_t i  );
-
-int
-xcb_get_motion_events_sizeof (const void  *_buffer  );
-
-xcb_get_motion_events_cookie_t
-xcb_get_motion_events (xcb_connection_t *c  ,
-                       xcb_window_t      window  ,
-                       xcb_timestamp_t   start  ,
-                       xcb_timestamp_t   stop  );
-
-xcb_get_motion_events_cookie_t
-xcb_get_motion_events_unchecked (xcb_connection_t *c  ,
-                                 xcb_window_t      window  ,
-                                 xcb_timestamp_t   start  ,
-                                 xcb_timestamp_t   stop  );
-
-xcb_timecoord_t *
-xcb_get_motion_events_events (const xcb_get_motion_events_reply_t *R  );
-
-int
-xcb_get_motion_events_events_length (const xcb_get_motion_events_reply_t *R  );
-
-xcb_timecoord_iterator_t
-xcb_get_motion_events_events_iterator (const xcb_get_motion_events_reply_t *R  );
-
-xcb_get_motion_events_reply_t *
-xcb_get_motion_events_reply (xcb_connection_t                *c  ,
-                             xcb_get_motion_events_cookie_t   cookie  ,
-                             xcb_generic_error_t            **e  );
-
-xcb_translate_coordinates_cookie_t
-xcb_translate_coordinates (xcb_connection_t *c  ,
-                           xcb_window_t      src_window  ,
-                           xcb_window_t      dst_window  ,
-                           int16_t           src_x  ,
-                           int16_t           src_y  );
-
-xcb_translate_coordinates_cookie_t
-xcb_translate_coordinates_unchecked (xcb_connection_t *c  ,
-                                     xcb_window_t      src_window  ,
-                                     xcb_window_t      dst_window  ,
-                                     int16_t           src_x  ,
-                                     int16_t           src_y  );
-
-xcb_translate_coordinates_reply_t *
-xcb_translate_coordinates_reply (xcb_connection_t                    *c  ,
-                                 xcb_translate_coordinates_cookie_t   cookie  ,
-                                 xcb_generic_error_t                **e  );
-
-xcb_void_cookie_t
-xcb_warp_pointer_checked (xcb_connection_t *c  ,
-                          xcb_window_t      src_window  ,
-                          xcb_window_t      dst_window  ,
-                          int16_t           src_x  ,
-                          int16_t           src_y  ,
-                          uint16_t          src_width  ,
-                          uint16_t          src_height  ,
-                          int16_t           dst_x  ,
-                          int16_t           dst_y  );
-
-xcb_void_cookie_t
-xcb_warp_pointer (xcb_connection_t *c  ,
-                  xcb_window_t      src_window  ,
-                  xcb_window_t      dst_window  ,
-                  int16_t           src_x  ,
-                  int16_t           src_y  ,
-                  uint16_t          src_width  ,
-                  uint16_t          src_height  ,
-                  int16_t           dst_x  ,
-                  int16_t           dst_y  );
-
-xcb_void_cookie_t
-xcb_set_input_focus_checked (xcb_connection_t *c  ,
-                             uint8_t           revert_to  ,
-                             xcb_window_t      focus  ,
-                             xcb_timestamp_t   time  );
-
-xcb_void_cookie_t
-xcb_set_input_focus (xcb_connection_t *c  ,
-                     uint8_t           revert_to  ,
-                     xcb_window_t      focus  ,
-                     xcb_timestamp_t   time  );
-
-xcb_get_input_focus_cookie_t
-xcb_get_input_focus (xcb_connection_t *c  );
-
-xcb_get_input_focus_cookie_t
-xcb_get_input_focus_unchecked (xcb_connection_t *c  );
-
-xcb_get_input_focus_reply_t *
-xcb_get_input_focus_reply (xcb_connection_t              *c  ,
-                           xcb_get_input_focus_cookie_t   cookie  ,
-                           xcb_generic_error_t          **e  );
-
-xcb_query_keymap_cookie_t
-xcb_query_keymap (xcb_connection_t *c  );
-
-xcb_query_keymap_cookie_t
-xcb_query_keymap_unchecked (xcb_connection_t *c  );
-
-xcb_query_keymap_reply_t *
-xcb_query_keymap_reply (xcb_connection_t           *c  ,
-                        xcb_query_keymap_cookie_t   cookie  ,
-                        xcb_generic_error_t       **e  );
-
-int
-xcb_open_font_sizeof (const void  *_buffer  );
-
-xcb_void_cookie_t
-xcb_open_font_checked (xcb_connection_t *c  ,
-                       xcb_font_t        fid  ,
-                       uint16_t          name_len  ,
-                       const char       *name  );
-
-xcb_void_cookie_t
-xcb_open_font (xcb_connection_t *c  ,
-               xcb_font_t        fid  ,
-               uint16_t          name_len  ,
-               const char       *name  );
-
-xcb_void_cookie_t
-xcb_close_font_checked (xcb_connection_t *c  ,
-                        xcb_font_t        font  );
-
-xcb_void_cookie_t
-xcb_close_font (xcb_connection_t *c  ,
-                xcb_font_t        font  );
-
-void
-xcb_fontprop_next (xcb_fontprop_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_fontprop_end (xcb_fontprop_iterator_t i  );
-
-void
-xcb_charinfo_next (xcb_charinfo_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_charinfo_end (xcb_charinfo_iterator_t i  );
-
-int
-xcb_query_font_sizeof (const void  *_buffer  );
-
-xcb_query_font_cookie_t
-xcb_query_font (xcb_connection_t *c  ,
-                xcb_fontable_t    font  );
-
-xcb_query_font_cookie_t
-xcb_query_font_unchecked (xcb_connection_t *c  ,
-                          xcb_fontable_t    font  );
-
-xcb_fontprop_t *
-xcb_query_font_properties (const xcb_query_font_reply_t *R  );
-
-int
-xcb_query_font_properties_length (const xcb_query_font_reply_t *R  );
-
-xcb_fontprop_iterator_t
-xcb_query_font_properties_iterator (const xcb_query_font_reply_t *R  );
-
-xcb_charinfo_t *
-xcb_query_font_char_infos (const xcb_query_font_reply_t *R  );
-
-int
-xcb_query_font_char_infos_length (const xcb_query_font_reply_t *R  );
-
-xcb_charinfo_iterator_t
-xcb_query_font_char_infos_iterator (const xcb_query_font_reply_t *R  );
-
-xcb_query_font_reply_t *
-xcb_query_font_reply (xcb_connection_t         *c  ,
-                      xcb_query_font_cookie_t   cookie  ,
-                      xcb_generic_error_t     **e  );
-
-int
-xcb_query_text_extents_sizeof (const void  *_buffer  ,
-                               uint32_t     string_len  );
-
-xcb_query_text_extents_cookie_t
-xcb_query_text_extents (xcb_connection_t   *c  ,
-                        xcb_fontable_t      font  ,
-                        uint32_t            string_len  ,
-                        const xcb_char2b_t *string  );
-
-xcb_query_text_extents_cookie_t
-xcb_query_text_extents_unchecked (xcb_connection_t   *c  ,
-                                  xcb_fontable_t      font  ,
-                                  uint32_t            string_len  ,
-                                  const xcb_char2b_t *string  );
-
-xcb_query_text_extents_reply_t *
-xcb_query_text_extents_reply (xcb_connection_t                 *c  ,
-                              xcb_query_text_extents_cookie_t   cookie  ,
-                              xcb_generic_error_t             **e  );
-
-int
-xcb_str_sizeof (const void  *_buffer  );
-
-char *
-xcb_str_name (const xcb_str_t *R  );
-
-int
-xcb_str_name_length (const xcb_str_t *R  );
-
-xcb_generic_iterator_t
-xcb_str_name_end (const xcb_str_t *R  );
-
-void
-xcb_str_next (xcb_str_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_str_end (xcb_str_iterator_t i  );
-
-int
-xcb_list_fonts_sizeof (const void  *_buffer  );
-
-xcb_list_fonts_cookie_t
-xcb_list_fonts (xcb_connection_t *c  ,
-                uint16_t          max_names  ,
-                uint16_t          pattern_len  ,
-                const char       *pattern  );
-
-xcb_list_fonts_cookie_t
-xcb_list_fonts_unchecked (xcb_connection_t *c  ,
-                          uint16_t          max_names  ,
-                          uint16_t          pattern_len  ,
-                          const char       *pattern  );
-
-int
-xcb_list_fonts_names_length (const xcb_list_fonts_reply_t *R  );
-
-xcb_str_iterator_t
-xcb_list_fonts_names_iterator (const xcb_list_fonts_reply_t *R  );
-
-xcb_list_fonts_reply_t *
-xcb_list_fonts_reply (xcb_connection_t         *c  ,
-                      xcb_list_fonts_cookie_t   cookie  ,
-                      xcb_generic_error_t     **e  );
-
-int
-xcb_list_fonts_with_info_sizeof (const void  *_buffer  );
-
-xcb_list_fonts_with_info_cookie_t
-xcb_list_fonts_with_info (xcb_connection_t *c  ,
-                          uint16_t          max_names  ,
-                          uint16_t          pattern_len  ,
-                          const char       *pattern  );
-
-xcb_list_fonts_with_info_cookie_t
-xcb_list_fonts_with_info_unchecked (xcb_connection_t *c  ,
-                                    uint16_t          max_names  ,
-                                    uint16_t          pattern_len  ,
-                                    const char       *pattern  );
-
-xcb_fontprop_t *
-xcb_list_fonts_with_info_properties (const xcb_list_fonts_with_info_reply_t *R  );
-
-int
-xcb_list_fonts_with_info_properties_length (const xcb_list_fonts_with_info_reply_t *R  );
-
-xcb_fontprop_iterator_t
-xcb_list_fonts_with_info_properties_iterator (const xcb_list_fonts_with_info_reply_t *R  );
-
-char *
-xcb_list_fonts_with_info_name (const xcb_list_fonts_with_info_reply_t *R  );
-
-int
-xcb_list_fonts_with_info_name_length (const xcb_list_fonts_with_info_reply_t *R  );
-
-xcb_generic_iterator_t
-xcb_list_fonts_with_info_name_end (const xcb_list_fonts_with_info_reply_t *R  );
-
-xcb_list_fonts_with_info_reply_t *
-xcb_list_fonts_with_info_reply (xcb_connection_t                   *c  ,
-                                xcb_list_fonts_with_info_cookie_t   cookie  ,
-                                xcb_generic_error_t               **e  );
-
-int
-xcb_set_font_path_sizeof (const void  *_buffer  );
-
-xcb_void_cookie_t
-xcb_set_font_path_checked (xcb_connection_t *c  ,
-                           uint16_t          font_qty  ,
-                           const xcb_str_t  *font  );
-
-xcb_void_cookie_t
-xcb_set_font_path (xcb_connection_t *c  ,
-                   uint16_t          font_qty  ,
-                   const xcb_str_t  *font  );
-
-int
-xcb_get_font_path_sizeof (const void  *_buffer  );
-
-xcb_get_font_path_cookie_t
-xcb_get_font_path (xcb_connection_t *c  );
-
-xcb_get_font_path_cookie_t
-xcb_get_font_path_unchecked (xcb_connection_t *c  );
-
-int
-xcb_get_font_path_path_length (const xcb_get_font_path_reply_t *R  );
-
-xcb_str_iterator_t
-xcb_get_font_path_path_iterator (const xcb_get_font_path_reply_t *R  );
-
-xcb_get_font_path_reply_t *
-xcb_get_font_path_reply (xcb_connection_t            *c  ,
-                         xcb_get_font_path_cookie_t   cookie  ,
-                         xcb_generic_error_t        **e  );
-
-xcb_void_cookie_t
-xcb_create_pixmap_checked (xcb_connection_t *c  ,
-                           uint8_t           depth  ,
-                           xcb_pixmap_t      pid  ,
-                           xcb_drawable_t    drawable  ,
-                           uint16_t          width  ,
-                           uint16_t          height  );
-
-xcb_void_cookie_t
-xcb_create_pixmap (xcb_connection_t *c  ,
-                   uint8_t           depth  ,
-                   xcb_pixmap_t      pid  ,
-                   xcb_drawable_t    drawable  ,
-                   uint16_t          width  ,
-                   uint16_t          height  );
-
-xcb_void_cookie_t
-xcb_free_pixmap_checked (xcb_connection_t *c  ,
-                         xcb_pixmap_t      pixmap  );
-
-xcb_void_cookie_t
-xcb_free_pixmap (xcb_connection_t *c  ,
-                 xcb_pixmap_t      pixmap  );
-
-int
-xcb_create_gc_sizeof (const void  *_buffer  );
-
-xcb_void_cookie_t
-xcb_create_gc_checked (xcb_connection_t *c  ,
-                       xcb_gcontext_t    cid  ,
-                       xcb_drawable_t    drawable  ,
-                       uint32_t          value_mask  ,
-                       const uint32_t   *value_list  );
-
-xcb_void_cookie_t
-xcb_create_gc (xcb_connection_t *c  ,
-               xcb_gcontext_t    cid  ,
-               xcb_drawable_t    drawable  ,
-               uint32_t          value_mask  ,
-               const uint32_t   *value_list  );
-
-int
-xcb_change_gc_sizeof (const void  *_buffer  );
-
-xcb_void_cookie_t
-xcb_change_gc_checked (xcb_connection_t *c  ,
-                       xcb_gcontext_t    gc  ,
-                       uint32_t          value_mask  ,
-                       const uint32_t   *value_list  );
-
-xcb_void_cookie_t
-xcb_change_gc (xcb_connection_t *c  ,
-               xcb_gcontext_t    gc  ,
-               uint32_t          value_mask  ,
-               const uint32_t   *value_list  );
-
-xcb_void_cookie_t
-xcb_copy_gc_checked (xcb_connection_t *c  ,
-                     xcb_gcontext_t    src_gc  ,
-                     xcb_gcontext_t    dst_gc  ,
-                     uint32_t          value_mask  );
-
-xcb_void_cookie_t
-xcb_copy_gc (xcb_connection_t *c  ,
-             xcb_gcontext_t    src_gc  ,
-             xcb_gcontext_t    dst_gc  ,
-             uint32_t          value_mask  );
-
-int
-xcb_set_dashes_sizeof (const void  *_buffer  );
-
-xcb_void_cookie_t
-xcb_set_dashes_checked (xcb_connection_t *c  ,
-                        xcb_gcontext_t    gc  ,
-                        uint16_t          dash_offset  ,
-                        uint16_t          dashes_len  ,
-                        const uint8_t    *dashes  );
-
-xcb_void_cookie_t
-xcb_set_dashes (xcb_connection_t *c  ,
-                xcb_gcontext_t    gc  ,
-                uint16_t          dash_offset  ,
-                uint16_t          dashes_len  ,
-                const uint8_t    *dashes  );
-
-int
-xcb_set_clip_rectangles_sizeof (const void  *_buffer  ,
-                                uint32_t     rectangles_len  );
-
-xcb_void_cookie_t
-xcb_set_clip_rectangles_checked (xcb_connection_t      *c  ,
-                                 uint8_t                ordering  ,
-                                 xcb_gcontext_t         gc  ,
-                                 int16_t                clip_x_origin  ,
-                                 int16_t                clip_y_origin  ,
-                                 uint32_t               rectangles_len  ,
-                                 const xcb_rectangle_t *rectangles  );
-
-xcb_void_cookie_t
-xcb_set_clip_rectangles (xcb_connection_t      *c  ,
-                         uint8_t                ordering  ,
-                         xcb_gcontext_t         gc  ,
-                         int16_t                clip_x_origin  ,
-                         int16_t                clip_y_origin  ,
-                         uint32_t               rectangles_len  ,
-                         const xcb_rectangle_t *rectangles  );
-
-xcb_void_cookie_t
-xcb_free_gc_checked (xcb_connection_t *c  ,
-                     xcb_gcontext_t    gc  );
-
-xcb_void_cookie_t
-xcb_free_gc (xcb_connection_t *c  ,
-             xcb_gcontext_t    gc  );
-
-xcb_void_cookie_t
-xcb_clear_area_checked (xcb_connection_t *c  ,
-                        uint8_t           exposures  ,
-                        xcb_window_t      window  ,
-                        int16_t           x  ,
-                        int16_t           y  ,
-                        uint16_t          width  ,
-                        uint16_t          height  );
-
-xcb_void_cookie_t
-xcb_clear_area (xcb_connection_t *c  ,
-                uint8_t           exposures  ,
-                xcb_window_t      window  ,
-                int16_t           x  ,
-                int16_t           y  ,
-                uint16_t          width  ,
-                uint16_t          height  );
-
-xcb_void_cookie_t
-xcb_copy_area_checked (xcb_connection_t *c  ,
-                       xcb_drawable_t    src_drawable  ,
-                       xcb_drawable_t    dst_drawable  ,
-                       xcb_gcontext_t    gc  ,
-                       int16_t           src_x  ,
-                       int16_t           src_y  ,
-                       int16_t           dst_x  ,
-                       int16_t           dst_y  ,
-                       uint16_t          width  ,
-                       uint16_t          height  );
-
-xcb_void_cookie_t
-xcb_copy_area (xcb_connection_t *c  ,
-               xcb_drawable_t    src_drawable  ,
-               xcb_drawable_t    dst_drawable  ,
-               xcb_gcontext_t    gc  ,
-               int16_t           src_x  ,
-               int16_t           src_y  ,
-               int16_t           dst_x  ,
-               int16_t           dst_y  ,
-               uint16_t          width  ,
-               uint16_t          height  );
-
-xcb_void_cookie_t
-xcb_copy_plane_checked (xcb_connection_t *c  ,
-                        xcb_drawable_t    src_drawable  ,
-                        xcb_drawable_t    dst_drawable  ,
-                        xcb_gcontext_t    gc  ,
-                        int16_t           src_x  ,
-                        int16_t           src_y  ,
-                        int16_t           dst_x  ,
-                        int16_t           dst_y  ,
-                        uint16_t          width  ,
-                        uint16_t          height  ,
-                        uint32_t          bit_plane  );
-
-xcb_void_cookie_t
-xcb_copy_plane (xcb_connection_t *c  ,
-                xcb_drawable_t    src_drawable  ,
-                xcb_drawable_t    dst_drawable  ,
-                xcb_gcontext_t    gc  ,
-                int16_t           src_x  ,
-                int16_t           src_y  ,
-                int16_t           dst_x  ,
-                int16_t           dst_y  ,
-                uint16_t          width  ,
-                uint16_t          height  ,
-                uint32_t          bit_plane  );
-
-int
-xcb_poly_point_sizeof (const void  *_buffer  ,
-                       uint32_t     points_len  );
-
-xcb_void_cookie_t
-xcb_poly_point_checked (xcb_connection_t  *c  ,
-                        uint8_t            coordinate_mode  ,
-                        xcb_drawable_t     drawable  ,
-                        xcb_gcontext_t     gc  ,
-                        uint32_t           points_len  ,
-                        const xcb_point_t *points  );
-
-xcb_void_cookie_t
-xcb_poly_point (xcb_connection_t  *c  ,
-                uint8_t            coordinate_mode  ,
-                xcb_drawable_t     drawable  ,
-                xcb_gcontext_t     gc  ,
-                uint32_t           points_len  ,
-                const xcb_point_t *points  );
-
-int
-xcb_poly_line_sizeof (const void  *_buffer  ,
-                      uint32_t     points_len  );
-
-xcb_void_cookie_t
-xcb_poly_line_checked (xcb_connection_t  *c  ,
-                       uint8_t            coordinate_mode  ,
-                       xcb_drawable_t     drawable  ,
-                       xcb_gcontext_t     gc  ,
-                       uint32_t           points_len  ,
-                       const xcb_point_t *points  );
-
-xcb_void_cookie_t
-xcb_poly_line (xcb_connection_t  *c  ,
-               uint8_t            coordinate_mode  ,
-               xcb_drawable_t     drawable  ,
-               xcb_gcontext_t     gc  ,
-               uint32_t           points_len  ,
-               const xcb_point_t *points  );
-
-void
-xcb_segment_next (xcb_segment_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_segment_end (xcb_segment_iterator_t i  );
-
-int
-xcb_poly_segment_sizeof (const void  *_buffer  ,
-                         uint32_t     segments_len  );
-
-xcb_void_cookie_t
-xcb_poly_segment_checked (xcb_connection_t    *c  ,
-                          xcb_drawable_t       drawable  ,
-                          xcb_gcontext_t       gc  ,
-                          uint32_t             segments_len  ,
-                          const xcb_segment_t *segments  );
-
-xcb_void_cookie_t
-xcb_poly_segment (xcb_connection_t    *c  ,
-                  xcb_drawable_t       drawable  ,
-                  xcb_gcontext_t       gc  ,
-                  uint32_t             segments_len  ,
-                  const xcb_segment_t *segments  );
-
-int
-xcb_poly_rectangle_sizeof (const void  *_buffer  ,
-                           uint32_t     rectangles_len  );
-
-xcb_void_cookie_t
-xcb_poly_rectangle_checked (xcb_connection_t      *c  ,
-                            xcb_drawable_t         drawable  ,
-                            xcb_gcontext_t         gc  ,
-                            uint32_t               rectangles_len  ,
-                            const xcb_rectangle_t *rectangles  );
-
-xcb_void_cookie_t
-xcb_poly_rectangle (xcb_connection_t      *c  ,
-                    xcb_drawable_t         drawable  ,
-                    xcb_gcontext_t         gc  ,
-                    uint32_t               rectangles_len  ,
-                    const xcb_rectangle_t *rectangles  );
-
-int
-xcb_poly_arc_sizeof (const void  *_buffer  ,
-                     uint32_t     arcs_len  );
-
-xcb_void_cookie_t
-xcb_poly_arc_checked (xcb_connection_t *c  ,
-                      xcb_drawable_t    drawable  ,
-                      xcb_gcontext_t    gc  ,
-                      uint32_t          arcs_len  ,
-                      const xcb_arc_t  *arcs  );
-
-xcb_void_cookie_t
-xcb_poly_arc (xcb_connection_t *c  ,
-              xcb_drawable_t    drawable  ,
-              xcb_gcontext_t    gc  ,
-              uint32_t          arcs_len  ,
-              const xcb_arc_t  *arcs  );
-
-int
-xcb_fill_poly_sizeof (const void  *_buffer  ,
-                      uint32_t     points_len  );
-
-xcb_void_cookie_t
-xcb_fill_poly_checked (xcb_connection_t  *c  ,
-                       xcb_drawable_t     drawable  ,
-                       xcb_gcontext_t     gc  ,
-                       uint8_t            shape  ,
-                       uint8_t            coordinate_mode  ,
-                       uint32_t           points_len  ,
-                       const xcb_point_t *points  );
-
-xcb_void_cookie_t
-xcb_fill_poly (xcb_connection_t  *c  ,
-               xcb_drawable_t     drawable  ,
-               xcb_gcontext_t     gc  ,
-               uint8_t            shape  ,
-               uint8_t            coordinate_mode  ,
-               uint32_t           points_len  ,
-               const xcb_point_t *points  );
-
-int
-xcb_poly_fill_rectangle_sizeof (const void  *_buffer  ,
-                                uint32_t     rectangles_len  );
-
-xcb_void_cookie_t
-xcb_poly_fill_rectangle_checked (xcb_connection_t      *c  ,
-                                 xcb_drawable_t         drawable  ,
-                                 xcb_gcontext_t         gc  ,
-                                 uint32_t               rectangles_len  ,
-                                 const xcb_rectangle_t *rectangles  );
-
-xcb_void_cookie_t
-xcb_poly_fill_rectangle (xcb_connection_t      *c  ,
-                         xcb_drawable_t         drawable  ,
-                         xcb_gcontext_t         gc  ,
-                         uint32_t               rectangles_len  ,
-                         const xcb_rectangle_t *rectangles  );
-
-int
-xcb_poly_fill_arc_sizeof (const void  *_buffer  ,
-                          uint32_t     arcs_len  );
-
-xcb_void_cookie_t
-xcb_poly_fill_arc_checked (xcb_connection_t *c  ,
-                           xcb_drawable_t    drawable  ,
-                           xcb_gcontext_t    gc  ,
-                           uint32_t          arcs_len  ,
-                           const xcb_arc_t  *arcs  );
-
-xcb_void_cookie_t
-xcb_poly_fill_arc (xcb_connection_t *c  ,
-                   xcb_drawable_t    drawable  ,
-                   xcb_gcontext_t    gc  ,
-                   uint32_t          arcs_len  ,
-                   const xcb_arc_t  *arcs  );
-
-int
-xcb_put_image_sizeof (const void  *_buffer  ,
-                      uint32_t     data_len  );
-
-xcb_void_cookie_t
-xcb_put_image_checked (xcb_connection_t *c  ,
-                       uint8_t           format  ,
-                       xcb_drawable_t    drawable  ,
-                       xcb_gcontext_t    gc  ,
-                       uint16_t          width  ,
-                       uint16_t          height  ,
-                       int16_t           dst_x  ,
-                       int16_t           dst_y  ,
-                       uint8_t           left_pad  ,
-                       uint8_t           depth  ,
-                       uint32_t          data_len  ,
-                       const uint8_t    *data  );
-
-xcb_void_cookie_t
-xcb_put_image (xcb_connection_t *c  ,
-               uint8_t           format  ,
-               xcb_drawable_t    drawable  ,
-               xcb_gcontext_t    gc  ,
-               uint16_t          width  ,
-               uint16_t          height  ,
-               int16_t           dst_x  ,
-               int16_t           dst_y  ,
-               uint8_t           left_pad  ,
-               uint8_t           depth  ,
-               uint32_t          data_len  ,
-               const uint8_t    *data  );
-
-int
-xcb_get_image_sizeof (const void  *_buffer  );
-
-xcb_get_image_cookie_t
-xcb_get_image (xcb_connection_t *c  ,
-               uint8_t           format  ,
-               xcb_drawable_t    drawable  ,
-               int16_t           x  ,
-               int16_t           y  ,
-               uint16_t          width  ,
-               uint16_t          height  ,
-               uint32_t          plane_mask  );
-
-xcb_get_image_cookie_t
-xcb_get_image_unchecked (xcb_connection_t *c  ,
-                         uint8_t           format  ,
-                         xcb_drawable_t    drawable  ,
-                         int16_t           x  ,
-                         int16_t           y  ,
-                         uint16_t          width  ,
-                         uint16_t          height  ,
-                         uint32_t          plane_mask  );
-
-uint8_t *
-xcb_get_image_data (const xcb_get_image_reply_t *R  );
-
-int
-xcb_get_image_data_length (const xcb_get_image_reply_t *R  );
-
-xcb_generic_iterator_t
-xcb_get_image_data_end (const xcb_get_image_reply_t *R  );
-
-xcb_get_image_reply_t *
-xcb_get_image_reply (xcb_connection_t        *c  ,
-                     xcb_get_image_cookie_t   cookie  ,
-                     xcb_generic_error_t    **e  );
-
-int
-xcb_poly_text_8_sizeof (const void  *_buffer  ,
-                        uint32_t     items_len  );
-
-xcb_void_cookie_t
-xcb_poly_text_8_checked (xcb_connection_t *c  ,
-                         xcb_drawable_t    drawable  ,
-                         xcb_gcontext_t    gc  ,
-                         int16_t           x  ,
-                         int16_t           y  ,
-                         uint32_t          items_len  ,
-                         const uint8_t    *items  );
-
-xcb_void_cookie_t
-xcb_poly_text_8 (xcb_connection_t *c  ,
-                 xcb_drawable_t    drawable  ,
-                 xcb_gcontext_t    gc  ,
-                 int16_t           x  ,
-                 int16_t           y  ,
-                 uint32_t          items_len  ,
-                 const uint8_t    *items  );
-
-int
-xcb_poly_text_16_sizeof (const void  *_buffer  ,
-                         uint32_t     items_len  );
-
-xcb_void_cookie_t
-xcb_poly_text_16_checked (xcb_connection_t *c  ,
-                          xcb_drawable_t    drawable  ,
-                          xcb_gcontext_t    gc  ,
-                          int16_t           x  ,
-                          int16_t           y  ,
-                          uint32_t          items_len  ,
-                          const uint8_t    *items  );
-
-xcb_void_cookie_t
-xcb_poly_text_16 (xcb_connection_t *c  ,
-                  xcb_drawable_t    drawable  ,
-                  xcb_gcontext_t    gc  ,
-                  int16_t           x  ,
-                  int16_t           y  ,
-                  uint32_t          items_len  ,
-                  const uint8_t    *items  );
-
-int
-xcb_image_text_8_sizeof (const void  *_buffer  );
-
-xcb_void_cookie_t
-xcb_image_text_8_checked (xcb_connection_t *c  ,
-                          uint8_t           string_len  ,
-                          xcb_drawable_t    drawable  ,
-                          xcb_gcontext_t    gc  ,
-                          int16_t           x  ,
-                          int16_t           y  ,
-                          const char       *string  );
-
-xcb_void_cookie_t
-xcb_image_text_8 (xcb_connection_t *c  ,
-                  uint8_t           string_len  ,
-                  xcb_drawable_t    drawable  ,
-                  xcb_gcontext_t    gc  ,
-                  int16_t           x  ,
-                  int16_t           y  ,
-                  const char       *string  );
-
-int
-xcb_image_text_16_sizeof (const void  *_buffer  );
-
-xcb_void_cookie_t
-xcb_image_text_16_checked (xcb_connection_t   *c  ,
-                           uint8_t             string_len  ,
-                           xcb_drawable_t      drawable  ,
-                           xcb_gcontext_t      gc  ,
-                           int16_t             x  ,
-                           int16_t             y  ,
-                           const xcb_char2b_t *string  );
-
-xcb_void_cookie_t
-xcb_image_text_16 (xcb_connection_t   *c  ,
-                   uint8_t             string_len  ,
-                   xcb_drawable_t      drawable  ,
-                   xcb_gcontext_t      gc  ,
-                   int16_t             x  ,
-                   int16_t             y  ,
-                   const xcb_char2b_t *string  );
-
-xcb_void_cookie_t
-xcb_create_colormap_checked (xcb_connection_t *c  ,
-                             uint8_t           alloc  ,
-                             xcb_colormap_t    mid  ,
-                             xcb_window_t      window  ,
-                             xcb_visualid_t    visual  );
-
-xcb_void_cookie_t
-xcb_create_colormap (xcb_connection_t *c  ,
-                     uint8_t           alloc  ,
-                     xcb_colormap_t    mid  ,
-                     xcb_window_t      window  ,
-                     xcb_visualid_t    visual  );
-
-xcb_void_cookie_t
-xcb_free_colormap_checked (xcb_connection_t *c  ,
-                           xcb_colormap_t    cmap  );
-
-xcb_void_cookie_t
-xcb_free_colormap (xcb_connection_t *c  ,
-                   xcb_colormap_t    cmap  );
-
-xcb_void_cookie_t
-xcb_copy_colormap_and_free_checked (xcb_connection_t *c  ,
-                                    xcb_colormap_t    mid  ,
-                                    xcb_colormap_t    src_cmap  );
-
-xcb_void_cookie_t
-xcb_copy_colormap_and_free (xcb_connection_t *c  ,
-                            xcb_colormap_t    mid  ,
-                            xcb_colormap_t    src_cmap  );
-
-xcb_void_cookie_t
-xcb_install_colormap_checked (xcb_connection_t *c  ,
-                              xcb_colormap_t    cmap  );
-
-xcb_void_cookie_t
-xcb_install_colormap (xcb_connection_t *c  ,
-                      xcb_colormap_t    cmap  );
-
-xcb_void_cookie_t
-xcb_uninstall_colormap_checked (xcb_connection_t *c  ,
-                                xcb_colormap_t    cmap  );
-
-xcb_void_cookie_t
-xcb_uninstall_colormap (xcb_connection_t *c  ,
-                        xcb_colormap_t    cmap  );
-
-int
-xcb_list_installed_colormaps_sizeof (const void  *_buffer  );
-
-xcb_list_installed_colormaps_cookie_t
-xcb_list_installed_colormaps (xcb_connection_t *c  ,
-                              xcb_window_t      window  );
-
-xcb_list_installed_colormaps_cookie_t
-xcb_list_installed_colormaps_unchecked (xcb_connection_t *c  ,
-                                        xcb_window_t      window  );
-
-xcb_colormap_t *
-xcb_list_installed_colormaps_cmaps (const xcb_list_installed_colormaps_reply_t *R  );
-
-int
-xcb_list_installed_colormaps_cmaps_length (const xcb_list_installed_colormaps_reply_t *R  );
-
-xcb_generic_iterator_t
-xcb_list_installed_colormaps_cmaps_end (const xcb_list_installed_colormaps_reply_t *R  );
-
-xcb_list_installed_colormaps_reply_t *
-xcb_list_installed_colormaps_reply (xcb_connection_t                       *c  ,
-                                    xcb_list_installed_colormaps_cookie_t   cookie  ,
-                                    xcb_generic_error_t                   **e  );
-
-xcb_alloc_color_cookie_t
-xcb_alloc_color (xcb_connection_t *c  ,
-                 xcb_colormap_t    cmap  ,
-                 uint16_t          red  ,
-                 uint16_t          green  ,
-                 uint16_t          blue  );
-
-xcb_alloc_color_cookie_t
-xcb_alloc_color_unchecked (xcb_connection_t *c  ,
-                           xcb_colormap_t    cmap  ,
-                           uint16_t          red  ,
-                           uint16_t          green  ,
-                           uint16_t          blue  );
-
-xcb_alloc_color_reply_t *
-xcb_alloc_color_reply (xcb_connection_t          *c  ,
-                       xcb_alloc_color_cookie_t   cookie  ,
-                       xcb_generic_error_t      **e  );
-
-int
-xcb_alloc_named_color_sizeof (const void  *_buffer  );
-
-xcb_alloc_named_color_cookie_t
-xcb_alloc_named_color (xcb_connection_t *c  ,
-                       xcb_colormap_t    cmap  ,
-                       uint16_t          name_len  ,
-                       const char       *name  );
-
-xcb_alloc_named_color_cookie_t
-xcb_alloc_named_color_unchecked (xcb_connection_t *c  ,
-                                 xcb_colormap_t    cmap  ,
-                                 uint16_t          name_len  ,
-                                 const char       *name  );
-
-xcb_alloc_named_color_reply_t *
-xcb_alloc_named_color_reply (xcb_connection_t                *c  ,
-                             xcb_alloc_named_color_cookie_t   cookie  ,
-                             xcb_generic_error_t            **e  );
-
-int
-xcb_alloc_color_cells_sizeof (const void  *_buffer  );
-
-xcb_alloc_color_cells_cookie_t
-xcb_alloc_color_cells (xcb_connection_t *c  ,
-                       uint8_t           contiguous  ,
-                       xcb_colormap_t    cmap  ,
-                       uint16_t          colors  ,
-                       uint16_t          planes  );
-
-xcb_alloc_color_cells_cookie_t
-xcb_alloc_color_cells_unchecked (xcb_connection_t *c  ,
-                                 uint8_t           contiguous  ,
-                                 xcb_colormap_t    cmap  ,
-                                 uint16_t          colors  ,
-                                 uint16_t          planes  );
-
-uint32_t *
-xcb_alloc_color_cells_pixels (const xcb_alloc_color_cells_reply_t *R  );
-
-int
-xcb_alloc_color_cells_pixels_length (const xcb_alloc_color_cells_reply_t *R  );
-
-xcb_generic_iterator_t
-xcb_alloc_color_cells_pixels_end (const xcb_alloc_color_cells_reply_t *R  );
-
-uint32_t *
-xcb_alloc_color_cells_masks (const xcb_alloc_color_cells_reply_t *R  );
-
-int
-xcb_alloc_color_cells_masks_length (const xcb_alloc_color_cells_reply_t *R  );
-
-xcb_generic_iterator_t
-xcb_alloc_color_cells_masks_end (const xcb_alloc_color_cells_reply_t *R  );
-
-xcb_alloc_color_cells_reply_t *
-xcb_alloc_color_cells_reply (xcb_connection_t                *c  ,
-                             xcb_alloc_color_cells_cookie_t   cookie  ,
-                             xcb_generic_error_t            **e  );
-
-int
-xcb_alloc_color_planes_sizeof (const void  *_buffer  );
-
-xcb_alloc_color_planes_cookie_t
-xcb_alloc_color_planes (xcb_connection_t *c  ,
-                        uint8_t           contiguous  ,
-                        xcb_colormap_t    cmap  ,
-                        uint16_t          colors  ,
-                        uint16_t          reds  ,
-                        uint16_t          greens  ,
-                        uint16_t          blues  );
-
-xcb_alloc_color_planes_cookie_t
-xcb_alloc_color_planes_unchecked (xcb_connection_t *c  ,
-                                  uint8_t           contiguous  ,
-                                  xcb_colormap_t    cmap  ,
-                                  uint16_t          colors  ,
-                                  uint16_t          reds  ,
-                                  uint16_t          greens  ,
-                                  uint16_t          blues  );
-
-uint32_t *
-xcb_alloc_color_planes_pixels (const xcb_alloc_color_planes_reply_t *R  );
-
-int
-xcb_alloc_color_planes_pixels_length (const xcb_alloc_color_planes_reply_t *R  );
-
-xcb_generic_iterator_t
-xcb_alloc_color_planes_pixels_end (const xcb_alloc_color_planes_reply_t *R  );
-
-xcb_alloc_color_planes_reply_t *
-xcb_alloc_color_planes_reply (xcb_connection_t                 *c  ,
-                              xcb_alloc_color_planes_cookie_t   cookie  ,
-                              xcb_generic_error_t             **e  );
-
-int
-xcb_free_colors_sizeof (const void  *_buffer  ,
-                        uint32_t     pixels_len  );
-
-xcb_void_cookie_t
-xcb_free_colors_checked (xcb_connection_t *c  ,
-                         xcb_colormap_t    cmap  ,
-                         uint32_t          plane_mask  ,
-                         uint32_t          pixels_len  ,
-                         const uint32_t   *pixels  );
-
-xcb_void_cookie_t
-xcb_free_colors (xcb_connection_t *c  ,
-                 xcb_colormap_t    cmap  ,
-                 uint32_t          plane_mask  ,
-                 uint32_t          pixels_len  ,
-                 const uint32_t   *pixels  );
-
-void
-xcb_coloritem_next (xcb_coloritem_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_coloritem_end (xcb_coloritem_iterator_t i  );
-
-int
-xcb_store_colors_sizeof (const void  *_buffer  ,
-                         uint32_t     items_len  );
-
-xcb_void_cookie_t
-xcb_store_colors_checked (xcb_connection_t      *c  ,
-                          xcb_colormap_t         cmap  ,
-                          uint32_t               items_len  ,
-                          const xcb_coloritem_t *items  );
-
-xcb_void_cookie_t
-xcb_store_colors (xcb_connection_t      *c  ,
-                  xcb_colormap_t         cmap  ,
-                  uint32_t               items_len  ,
-                  const xcb_coloritem_t *items  );
-
-int
-xcb_store_named_color_sizeof (const void  *_buffer  );
-
-xcb_void_cookie_t
-xcb_store_named_color_checked (xcb_connection_t *c  ,
-                               uint8_t           flags  ,
-                               xcb_colormap_t    cmap  ,
-                               uint32_t          pixel  ,
-                               uint16_t          name_len  ,
-                               const char       *name  );
-
-xcb_void_cookie_t
-xcb_store_named_color (xcb_connection_t *c  ,
-                       uint8_t           flags  ,
-                       xcb_colormap_t    cmap  ,
-                       uint32_t          pixel  ,
-                       uint16_t          name_len  ,
-                       const char       *name  );
-
-void
-xcb_rgb_next (xcb_rgb_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_rgb_end (xcb_rgb_iterator_t i  );
-
-int
-xcb_query_colors_sizeof (const void  *_buffer  ,
-                         uint32_t     pixels_len  );
-
-xcb_query_colors_cookie_t
-xcb_query_colors (xcb_connection_t *c  ,
-                  xcb_colormap_t    cmap  ,
-                  uint32_t          pixels_len  ,
-                  const uint32_t   *pixels  );
-
-xcb_query_colors_cookie_t
-xcb_query_colors_unchecked (xcb_connection_t *c  ,
-                            xcb_colormap_t    cmap  ,
-                            uint32_t          pixels_len  ,
-                            const uint32_t   *pixels  );
-
-xcb_rgb_t *
-xcb_query_colors_colors (const xcb_query_colors_reply_t *R  );
-
-int
-xcb_query_colors_colors_length (const xcb_query_colors_reply_t *R  );
-
-xcb_rgb_iterator_t
-xcb_query_colors_colors_iterator (const xcb_query_colors_reply_t *R  );
-
-xcb_query_colors_reply_t *
-xcb_query_colors_reply (xcb_connection_t           *c  ,
-                        xcb_query_colors_cookie_t   cookie  ,
-                        xcb_generic_error_t       **e  );
-
-int
-xcb_lookup_color_sizeof (const void  *_buffer  );
-
-xcb_lookup_color_cookie_t
-xcb_lookup_color (xcb_connection_t *c  ,
-                  xcb_colormap_t    cmap  ,
-                  uint16_t          name_len  ,
-                  const char       *name  );
-
-xcb_lookup_color_cookie_t
-xcb_lookup_color_unchecked (xcb_connection_t *c  ,
-                            xcb_colormap_t    cmap  ,
-                            uint16_t          name_len  ,
-                            const char       *name  );
-
-xcb_lookup_color_reply_t *
-xcb_lookup_color_reply (xcb_connection_t           *c  ,
-                        xcb_lookup_color_cookie_t   cookie  ,
-                        xcb_generic_error_t       **e  );
-
-xcb_void_cookie_t
-xcb_create_cursor_checked (xcb_connection_t *c  ,
-                           xcb_cursor_t      cid  ,
-                           xcb_pixmap_t      source  ,
-                           xcb_pixmap_t      mask  ,
-                           uint16_t          fore_red  ,
-                           uint16_t          fore_green  ,
-                           uint16_t          fore_blue  ,
-                           uint16_t          back_red  ,
-                           uint16_t          back_green  ,
-                           uint16_t          back_blue  ,
-                           uint16_t          x  ,
-                           uint16_t          y  );
-
-xcb_void_cookie_t
-xcb_create_cursor (xcb_connection_t *c  ,
-                   xcb_cursor_t      cid  ,
-                   xcb_pixmap_t      source  ,
-                   xcb_pixmap_t      mask  ,
-                   uint16_t          fore_red  ,
-                   uint16_t          fore_green  ,
-                   uint16_t          fore_blue  ,
-                   uint16_t          back_red  ,
-                   uint16_t          back_green  ,
-                   uint16_t          back_blue  ,
-                   uint16_t          x  ,
-                   uint16_t          y  );
-
-xcb_void_cookie_t
-xcb_create_glyph_cursor_checked (xcb_connection_t *c  ,
-                                 xcb_cursor_t      cid  ,
-                                 xcb_font_t        source_font  ,
-                                 xcb_font_t        mask_font  ,
-                                 uint16_t          source_char  ,
-                                 uint16_t          mask_char  ,
-                                 uint16_t          fore_red  ,
-                                 uint16_t          fore_green  ,
-                                 uint16_t          fore_blue  ,
-                                 uint16_t          back_red  ,
-                                 uint16_t          back_green  ,
-                                 uint16_t          back_blue  );
-
-xcb_void_cookie_t
-xcb_create_glyph_cursor (xcb_connection_t *c  ,
-                         xcb_cursor_t      cid  ,
-                         xcb_font_t        source_font  ,
-                         xcb_font_t        mask_font  ,
-                         uint16_t          source_char  ,
-                         uint16_t          mask_char  ,
-                         uint16_t          fore_red  ,
-                         uint16_t          fore_green  ,
-                         uint16_t          fore_blue  ,
-                         uint16_t          back_red  ,
-                         uint16_t          back_green  ,
-                         uint16_t          back_blue  );
-
-xcb_void_cookie_t
-xcb_free_cursor_checked (xcb_connection_t *c  ,
-                         xcb_cursor_t      cursor  );
-
-xcb_void_cookie_t
-xcb_free_cursor (xcb_connection_t *c  ,
-                 xcb_cursor_t      cursor  );
-
-xcb_void_cookie_t
-xcb_recolor_cursor_checked (xcb_connection_t *c  ,
-                            xcb_cursor_t      cursor  ,
-                            uint16_t          fore_red  ,
-                            uint16_t          fore_green  ,
-                            uint16_t          fore_blue  ,
-                            uint16_t          back_red  ,
-                            uint16_t          back_green  ,
-                            uint16_t          back_blue  );
-
-xcb_void_cookie_t
-xcb_recolor_cursor (xcb_connection_t *c  ,
-                    xcb_cursor_t      cursor  ,
-                    uint16_t          fore_red  ,
-                    uint16_t          fore_green  ,
-                    uint16_t          fore_blue  ,
-                    uint16_t          back_red  ,
-                    uint16_t          back_green  ,
-                    uint16_t          back_blue  );
-
-xcb_query_best_size_cookie_t
-xcb_query_best_size (xcb_connection_t *c  ,
-                     uint8_t           _class  ,
-                     xcb_drawable_t    drawable  ,
-                     uint16_t          width  ,
-                     uint16_t          height  );
-
-xcb_query_best_size_cookie_t
-xcb_query_best_size_unchecked (xcb_connection_t *c  ,
-                               uint8_t           _class  ,
-                               xcb_drawable_t    drawable  ,
-                               uint16_t          width  ,
-                               uint16_t          height  );
-
-xcb_query_best_size_reply_t *
-xcb_query_best_size_reply (xcb_connection_t              *c  ,
-                           xcb_query_best_size_cookie_t   cookie  ,
-                           xcb_generic_error_t          **e  );
-
-int
-xcb_query_extension_sizeof (const void  *_buffer  );
-
-xcb_query_extension_cookie_t
-xcb_query_extension (xcb_connection_t *c  ,
-                     uint16_t          name_len  ,
-                     const char       *name  );
-
-xcb_query_extension_cookie_t
-xcb_query_extension_unchecked (xcb_connection_t *c  ,
-                               uint16_t          name_len  ,
-                               const char       *name  );
-
-xcb_query_extension_reply_t *
-xcb_query_extension_reply (xcb_connection_t              *c  ,
-                           xcb_query_extension_cookie_t   cookie  ,
-                           xcb_generic_error_t          **e  );
-
-int
-xcb_list_extensions_sizeof (const void  *_buffer  );
-
-xcb_list_extensions_cookie_t
-xcb_list_extensions (xcb_connection_t *c  );
-
-xcb_list_extensions_cookie_t
-xcb_list_extensions_unchecked (xcb_connection_t *c  );
-
-int
-xcb_list_extensions_names_length (const xcb_list_extensions_reply_t *R  );
-
-xcb_str_iterator_t
-xcb_list_extensions_names_iterator (const xcb_list_extensions_reply_t *R  );
-
-xcb_list_extensions_reply_t *
-xcb_list_extensions_reply (xcb_connection_t              *c  ,
-                           xcb_list_extensions_cookie_t   cookie  ,
-                           xcb_generic_error_t          **e  );
-
-int
-xcb_change_keyboard_mapping_sizeof (const void  *_buffer  );
-
-xcb_void_cookie_t
-xcb_change_keyboard_mapping_checked (xcb_connection_t   *c  ,
-                                     uint8_t             keycode_count  ,
-                                     xcb_keycode_t       first_keycode  ,
-                                     uint8_t             keysyms_per_keycode  ,
-                                     const xcb_keysym_t *keysyms  );
-
-xcb_void_cookie_t
-xcb_change_keyboard_mapping (xcb_connection_t   *c  ,
-                             uint8_t             keycode_count  ,
-                             xcb_keycode_t       first_keycode  ,
-                             uint8_t             keysyms_per_keycode  ,
-                             const xcb_keysym_t *keysyms  );
-
-int
-xcb_get_keyboard_mapping_sizeof (const void  *_buffer  );
-
-xcb_get_keyboard_mapping_cookie_t
-xcb_get_keyboard_mapping (xcb_connection_t *c  ,
-                          xcb_keycode_t     first_keycode  ,
-                          uint8_t           count  );
-
-xcb_get_keyboard_mapping_cookie_t
-xcb_get_keyboard_mapping_unchecked (xcb_connection_t *c  ,
-                                    xcb_keycode_t     first_keycode  ,
-                                    uint8_t           count  );
-
-xcb_keysym_t *
-xcb_get_keyboard_mapping_keysyms (const xcb_get_keyboard_mapping_reply_t *R  );
-
-int
-xcb_get_keyboard_mapping_keysyms_length (const xcb_get_keyboard_mapping_reply_t *R  );
-
-xcb_generic_iterator_t
-xcb_get_keyboard_mapping_keysyms_end (const xcb_get_keyboard_mapping_reply_t *R  );
-
-xcb_get_keyboard_mapping_reply_t *
-xcb_get_keyboard_mapping_reply (xcb_connection_t                   *c  ,
-                                xcb_get_keyboard_mapping_cookie_t   cookie  ,
-                                xcb_generic_error_t               **e  );
-
-int
-xcb_change_keyboard_control_sizeof (const void  *_buffer  );
-
-xcb_void_cookie_t
-xcb_change_keyboard_control_checked (xcb_connection_t *c  ,
-                                     uint32_t          value_mask  ,
-                                     const uint32_t   *value_list  );
-
-xcb_void_cookie_t
-xcb_change_keyboard_control (xcb_connection_t *c  ,
-                             uint32_t          value_mask  ,
-                             const uint32_t   *value_list  );
-
-xcb_get_keyboard_control_cookie_t
-xcb_get_keyboard_control (xcb_connection_t *c  );
-
-xcb_get_keyboard_control_cookie_t
-xcb_get_keyboard_control_unchecked (xcb_connection_t *c  );
-
-xcb_get_keyboard_control_reply_t *
-xcb_get_keyboard_control_reply (xcb_connection_t                   *c  ,
-                                xcb_get_keyboard_control_cookie_t   cookie  ,
-                                xcb_generic_error_t               **e  );
-
-xcb_void_cookie_t
-xcb_bell_checked (xcb_connection_t *c  ,
-                  int8_t            percent  );
-
-xcb_void_cookie_t
-xcb_bell (xcb_connection_t *c  ,
-          int8_t            percent  );
-
-xcb_void_cookie_t
-xcb_change_pointer_control_checked (xcb_connection_t *c  ,
-                                    int16_t           acceleration_numerator  ,
-                                    int16_t           acceleration_denominator  ,
-                                    int16_t           threshold  ,
-                                    uint8_t           do_acceleration  ,
-                                    uint8_t           do_threshold  );
-
-xcb_void_cookie_t
-xcb_change_pointer_control (xcb_connection_t *c  ,
-                            int16_t           acceleration_numerator  ,
-                            int16_t           acceleration_denominator  ,
-                            int16_t           threshold  ,
-                            uint8_t           do_acceleration  ,
-                            uint8_t           do_threshold  );
-
-xcb_get_pointer_control_cookie_t
-xcb_get_pointer_control (xcb_connection_t *c  );
-
-xcb_get_pointer_control_cookie_t
-xcb_get_pointer_control_unchecked (xcb_connection_t *c  );
-
-xcb_get_pointer_control_reply_t *
-xcb_get_pointer_control_reply (xcb_connection_t                  *c  ,
-                               xcb_get_pointer_control_cookie_t   cookie  ,
-                               xcb_generic_error_t              **e  );
-
-xcb_void_cookie_t
-xcb_set_screen_saver_checked (xcb_connection_t *c  ,
-                              int16_t           timeout  ,
-                              int16_t           interval  ,
-                              uint8_t           prefer_blanking  ,
-                              uint8_t           allow_exposures  );
-
-xcb_void_cookie_t
-xcb_set_screen_saver (xcb_connection_t *c  ,
-                      int16_t           timeout  ,
-                      int16_t           interval  ,
-                      uint8_t           prefer_blanking  ,
-                      uint8_t           allow_exposures  );
-
-xcb_get_screen_saver_cookie_t
-xcb_get_screen_saver (xcb_connection_t *c  );
-
-xcb_get_screen_saver_cookie_t
-xcb_get_screen_saver_unchecked (xcb_connection_t *c  );
-
-xcb_get_screen_saver_reply_t *
-xcb_get_screen_saver_reply (xcb_connection_t               *c  ,
-                            xcb_get_screen_saver_cookie_t   cookie  ,
-                            xcb_generic_error_t           **e  );
-
-int
-xcb_change_hosts_sizeof (const void  *_buffer  );
-
-xcb_void_cookie_t
-xcb_change_hosts_checked (xcb_connection_t *c  ,
-                          uint8_t           mode  ,
-                          uint8_t           family  ,
-                          uint16_t          address_len  ,
-                          const uint8_t    *address  );
-
-xcb_void_cookie_t
-xcb_change_hosts (xcb_connection_t *c  ,
-                  uint8_t           mode  ,
-                  uint8_t           family  ,
-                  uint16_t          address_len  ,
-                  const uint8_t    *address  );
-
-int
-xcb_host_sizeof (const void  *_buffer  );
-
-uint8_t *
-xcb_host_address (const xcb_host_t *R  );
-
-int
-xcb_host_address_length (const xcb_host_t *R  );
-
-xcb_generic_iterator_t
-xcb_host_address_end (const xcb_host_t *R  );
-
-void
-xcb_host_next (xcb_host_iterator_t *i  );
-
-xcb_generic_iterator_t
-xcb_host_end (xcb_host_iterator_t i  );
-
-int
-xcb_list_hosts_sizeof (const void  *_buffer  );
-
-xcb_list_hosts_cookie_t
-xcb_list_hosts (xcb_connection_t *c  );
-
-xcb_list_hosts_cookie_t
-xcb_list_hosts_unchecked (xcb_connection_t *c  );
-
-int
-xcb_list_hosts_hosts_length (const xcb_list_hosts_reply_t *R  );
-
-xcb_host_iterator_t
-xcb_list_hosts_hosts_iterator (const xcb_list_hosts_reply_t *R  );
-
-xcb_list_hosts_reply_t *
-xcb_list_hosts_reply (xcb_connection_t         *c  ,
-                      xcb_list_hosts_cookie_t   cookie  ,
-                      xcb_generic_error_t     **e  );
-
-xcb_void_cookie_t
-xcb_set_access_control_checked (xcb_connection_t *c  ,
-                                uint8_t           mode  );
-
-xcb_void_cookie_t
-xcb_set_access_control (xcb_connection_t *c  ,
-                        uint8_t           mode  );
-
-xcb_void_cookie_t
-xcb_set_close_down_mode_checked (xcb_connection_t *c  ,
-                                 uint8_t           mode  );
-
-xcb_void_cookie_t
-xcb_set_close_down_mode (xcb_connection_t *c  ,
-                         uint8_t           mode  );
-
-xcb_void_cookie_t
-xcb_kill_client_checked (xcb_connection_t *c  ,
-                         uint32_t          resource  );
-
-xcb_void_cookie_t
-xcb_kill_client (xcb_connection_t *c  ,
-                 uint32_t          resource  );
-
-int
-xcb_rotate_properties_sizeof (const void  *_buffer  );
-
-xcb_void_cookie_t
-xcb_rotate_properties_checked (xcb_connection_t *c  ,
-                               xcb_window_t      window  ,
-                               uint16_t          atoms_len  ,
-                               int16_t           delta  ,
-                               const xcb_atom_t *atoms  );
-
-xcb_void_cookie_t
-xcb_rotate_properties (xcb_connection_t *c  ,
-                       xcb_window_t      window  ,
-                       uint16_t          atoms_len  ,
-                       int16_t           delta  ,
-                       const xcb_atom_t *atoms  );
-
-xcb_void_cookie_t
-xcb_force_screen_saver_checked (xcb_connection_t *c  ,
-                                uint8_t           mode  );
-
-xcb_void_cookie_t
-xcb_force_screen_saver (xcb_connection_t *c  ,
-                        uint8_t           mode  );
-
-int
-xcb_set_pointer_mapping_sizeof (const void  *_buffer  );
-
-xcb_set_pointer_mapping_cookie_t
-xcb_set_pointer_mapping (xcb_connection_t *c  ,
-                         uint8_t           map_len  ,
-                         const uint8_t    *map  );
-
-xcb_set_pointer_mapping_cookie_t
-xcb_set_pointer_mapping_unchecked (xcb_connection_t *c  ,
-                                   uint8_t           map_len  ,
-                                   const uint8_t    *map  );
-
-xcb_set_pointer_mapping_reply_t *
-xcb_set_pointer_mapping_reply (xcb_connection_t                  *c  ,
-                               xcb_set_pointer_mapping_cookie_t   cookie  ,
-                               xcb_generic_error_t              **e  );
-
-int
-xcb_get_pointer_mapping_sizeof (const void  *_buffer  );
-
-xcb_get_pointer_mapping_cookie_t
-xcb_get_pointer_mapping (xcb_connection_t *c  );
-
-xcb_get_pointer_mapping_cookie_t
-xcb_get_pointer_mapping_unchecked (xcb_connection_t *c  );
-
-uint8_t *
-xcb_get_pointer_mapping_map (const xcb_get_pointer_mapping_reply_t *R  );
-
-int
-xcb_get_pointer_mapping_map_length (const xcb_get_pointer_mapping_reply_t *R  );
-
-xcb_generic_iterator_t
-xcb_get_pointer_mapping_map_end (const xcb_get_pointer_mapping_reply_t *R  );
-
-xcb_get_pointer_mapping_reply_t *
-xcb_get_pointer_mapping_reply (xcb_connection_t                  *c  ,
-                               xcb_get_pointer_mapping_cookie_t   cookie  ,
-                               xcb_generic_error_t              **e  );
-
-int
-xcb_set_modifier_mapping_sizeof (const void  *_buffer  );
-
-xcb_set_modifier_mapping_cookie_t
-xcb_set_modifier_mapping (xcb_connection_t    *c  ,
-                          uint8_t              keycodes_per_modifier  ,
-                          const xcb_keycode_t *keycodes  );
-
-xcb_set_modifier_mapping_cookie_t
-xcb_set_modifier_mapping_unchecked (xcb_connection_t    *c  ,
-                                    uint8_t              keycodes_per_modifier  ,
-                                    const xcb_keycode_t *keycodes  );
-
-xcb_set_modifier_mapping_reply_t *
-xcb_set_modifier_mapping_reply (xcb_connection_t                   *c  ,
-                                xcb_set_modifier_mapping_cookie_t   cookie  ,
-                                xcb_generic_error_t               **e  );
-
-int
-xcb_get_modifier_mapping_sizeof (const void  *_buffer  );
-
-xcb_get_modifier_mapping_cookie_t
-xcb_get_modifier_mapping (xcb_connection_t *c  );
-
-xcb_get_modifier_mapping_cookie_t
-xcb_get_modifier_mapping_unchecked (xcb_connection_t *c  );
-
-xcb_keycode_t *
-xcb_get_modifier_mapping_keycodes (const xcb_get_modifier_mapping_reply_t *R  );
-
-int
-xcb_get_modifier_mapping_keycodes_length (const xcb_get_modifier_mapping_reply_t *R  );
-
-xcb_generic_iterator_t
-xcb_get_modifier_mapping_keycodes_end (const xcb_get_modifier_mapping_reply_t *R  );
-
-xcb_get_modifier_mapping_reply_t *
-xcb_get_modifier_mapping_reply (xcb_connection_t                   *c  ,
-                                xcb_get_modifier_mapping_cookie_t   cookie  ,
-                                xcb_generic_error_t               **e  );
-
-xcb_void_cookie_t
-xcb_no_operation_checked (xcb_connection_t *c  );
-
-xcb_void_cookie_t
-xcb_no_operation (xcb_connection_t *c  );
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
diff --git a/tests/_vktracereplay.ps1 b/tests/_vktracereplay.ps1
index 622f934..d77b252 100644
--- a/tests/_vktracereplay.ps1
+++ b/tests/_vktracereplay.ps1
@@ -23,7 +23,7 @@
 cp ..\..\vktrace\$dPath\vkreplay.exe .

 cp ..\..\vktrace\$dPath\vktrace.exe .

 cp ..\..\demos\$dPath\cube.exe .

-cp ..\..\demos\*.png .

+cp ..\..\demos\*.ppm .

 cp ..\..\demos\*.spv .

 cp ..\..\loader\$dPath\vulkan-0.dll .

 cp ..\..\layers\$dPath\VKLayerScreenShot.dll .

diff --git a/tests/vktestframework.cpp b/tests/vktestframework.cpp
index a3df472..0d88091 100644
--- a/tests/vktestframework.cpp
+++ b/tests/vktestframework.cpp
@@ -27,7 +27,9 @@
 #include <limits.h>
 #include <math.h>
 #include <wand/MagickWand.h>
+#ifndef _WIN32
 #include <xcb/xcb.h>
+#endif
 #include "vk_ext_khr_swapchain.h"
 #include "vk_ext_khr_device_swapchain.h"
 
@@ -156,7 +158,9 @@
     std::list<VkTestImageRecord>::iterator m_display_image;
 
     void Display();
+#ifndef _WIN32
     void HandleEvent(xcb_generic_event_t *event);
+#endif
 };
 
 #ifndef _WIN32
@@ -324,7 +328,7 @@
     ASSERT_TRUE(file.is_open()) << "Unable to open file: " << filename;
 
     file << "P6\n";
-    file << displayImage.width() << "\n";
+    file << displayImage.width() << " ";
     file << displayImage.height() << "\n";
     file << 255 << "\n";
 
diff --git a/tests/vktracereplay.sh b/tests/vktracereplay.sh
index f53f91d..96618ed 100755
--- a/tests/vktracereplay.sh
+++ b/tests/vktracereplay.sh
@@ -20,7 +20,7 @@
 cp ../../vktrace/vktrace .
 cp ../../vktrace/libvktrace_layer.so .
 cp ../../demos/cube .
-cp ../../demos/*png .
+cp ../../demos/*ppm .
 cp ../../demos/*spv .
 export LD_LIBRARY_PATH=`pwd`/../loader:$LD_LIBRARY_PATH
 export VK_LAYER_PATH=`pwd`/../../layers