summaryrefslogtreecommitdiff
path: root/lib/libxcb/src/xfixes.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2015-01-26 21:32:13 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2015-01-26 21:32:13 +0000
commit534a59dc96bdfb1b29a1ff426939ee580347e3a2 (patch)
treee5b209ef8dad71342fdc362b05b2a1aaed152ff4 /lib/libxcb/src/xfixes.c
parent9d2efe62a0314bcf82676acac0b2c1ed7903a28a (diff)
Update to libxcb and xcb-proto 1.11.
Tested on a bulk ports build by naddy@. Lots of churn due to white-space and comments changes in generated code.
Diffstat (limited to 'lib/libxcb/src/xfixes.c')
-rw-r--r--lib/libxcb/src/xfixes.c1612
1 files changed, 264 insertions, 1348 deletions
diff --git a/lib/libxcb/src/xfixes.c b/lib/libxcb/src/xfixes.c
index b2535919a..a10868c44 100644
--- a/lib/libxcb/src/xfixes.c
+++ b/lib/libxcb/src/xfixes.c
@@ -20,18 +20,6 @@
xcb_extension_t xcb_xfixes_id = { "XFIXES", 0 };
-
-/*****************************************************************************
- **
- ** xcb_xfixes_query_version_cookie_t xcb_xfixes_query_version
- **
- ** @param xcb_connection_t *c
- ** @param uint32_t client_major_version
- ** @param uint32_t client_minor_version
- ** @returns xcb_xfixes_query_version_cookie_t
- **
- *****************************************************************************/
-
xcb_xfixes_query_version_cookie_t
xcb_xfixes_query_version (xcb_connection_t *c /**< */,
uint32_t client_major_version /**< */,
@@ -43,35 +31,23 @@ xcb_xfixes_query_version (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_QUERY_VERSION,
/* isvoid */ 0
};
-
+
struct iovec xcb_parts[4];
xcb_xfixes_query_version_cookie_t xcb_ret;
xcb_xfixes_query_version_request_t xcb_out;
-
+
xcb_out.client_major_version = client_major_version;
xcb_out.client_minor_version = client_minor_version;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_xfixes_query_version_cookie_t xcb_xfixes_query_version_unchecked
- **
- ** @param xcb_connection_t *c
- ** @param uint32_t client_major_version
- ** @param uint32_t client_minor_version
- ** @returns xcb_xfixes_query_version_cookie_t
- **
- *****************************************************************************/
-
xcb_xfixes_query_version_cookie_t
xcb_xfixes_query_version_unchecked (xcb_connection_t *c /**< */,
uint32_t client_major_version /**< */,
@@ -83,35 +59,23 @@ xcb_xfixes_query_version_unchecked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_QUERY_VERSION,
/* isvoid */ 0
};
-
+
struct iovec xcb_parts[4];
xcb_xfixes_query_version_cookie_t xcb_ret;
xcb_xfixes_query_version_request_t xcb_out;
-
+
xcb_out.client_major_version = client_major_version;
xcb_out.client_minor_version = client_minor_version;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_xfixes_query_version_reply_t * xcb_xfixes_query_version_reply
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_query_version_cookie_t cookie
- ** @param xcb_generic_error_t **e
- ** @returns xcb_xfixes_query_version_reply_t *
- **
- *****************************************************************************/
-
xcb_xfixes_query_version_reply_t *
xcb_xfixes_query_version_reply (xcb_connection_t *c /**< */,
xcb_xfixes_query_version_cookie_t cookie /**< */,
@@ -120,20 +84,6 @@ xcb_xfixes_query_version_reply (xcb_connection_t *c /**< */,
return (xcb_xfixes_query_version_reply_t *) xcb_wait_for_reply(c, cookie.sequence, e);
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_change_save_set_checked
- **
- ** @param xcb_connection_t *c
- ** @param uint8_t mode
- ** @param uint8_t target
- ** @param uint8_t map
- ** @param xcb_window_t window
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_change_save_set_checked (xcb_connection_t *c /**< */,
uint8_t mode /**< */,
@@ -147,40 +97,26 @@ xcb_xfixes_change_save_set_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_CHANGE_SAVE_SET,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_change_save_set_request_t xcb_out;
-
+
xcb_out.mode = mode;
xcb_out.target = target;
xcb_out.map = map;
xcb_out.pad0 = 0;
xcb_out.window = window;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_change_save_set
- **
- ** @param xcb_connection_t *c
- ** @param uint8_t mode
- ** @param uint8_t target
- ** @param uint8_t map
- ** @param xcb_window_t window
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_change_save_set (xcb_connection_t *c /**< */,
uint8_t mode /**< */,
@@ -194,39 +130,26 @@ xcb_xfixes_change_save_set (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_CHANGE_SAVE_SET,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_change_save_set_request_t xcb_out;
-
+
xcb_out.mode = mode;
xcb_out.target = target;
xcb_out.map = map;
xcb_out.pad0 = 0;
xcb_out.window = window;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_select_selection_input_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_window_t window
- ** @param xcb_atom_t selection
- ** @param uint32_t event_mask
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_select_selection_input_checked (xcb_connection_t *c /**< */,
xcb_window_t window /**< */,
@@ -239,37 +162,24 @@ xcb_xfixes_select_selection_input_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_SELECT_SELECTION_INPUT,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_select_selection_input_request_t xcb_out;
-
+
xcb_out.window = window;
xcb_out.selection = selection;
xcb_out.event_mask = event_mask;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_select_selection_input
- **
- ** @param xcb_connection_t *c
- ** @param xcb_window_t window
- ** @param xcb_atom_t selection
- ** @param uint32_t event_mask
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_select_selection_input (xcb_connection_t *c /**< */,
xcb_window_t window /**< */,
@@ -282,36 +192,24 @@ xcb_xfixes_select_selection_input (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_SELECT_SELECTION_INPUT,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_select_selection_input_request_t xcb_out;
-
+
xcb_out.window = window;
xcb_out.selection = selection;
xcb_out.event_mask = event_mask;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_select_cursor_input_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_window_t window
- ** @param uint32_t event_mask
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_select_cursor_input_checked (xcb_connection_t *c /**< */,
xcb_window_t window /**< */,
@@ -323,35 +221,23 @@ xcb_xfixes_select_cursor_input_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_SELECT_CURSOR_INPUT,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_select_cursor_input_request_t xcb_out;
-
+
xcb_out.window = window;
xcb_out.event_mask = event_mask;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_select_cursor_input
- **
- ** @param xcb_connection_t *c
- ** @param xcb_window_t window
- ** @param uint32_t event_mask
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_select_cursor_input (xcb_connection_t *c /**< */,
xcb_window_t window /**< */,
@@ -363,19 +249,19 @@ xcb_xfixes_select_cursor_input (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_SELECT_CURSOR_INPUT,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_select_cursor_input_request_t xcb_out;
-
+
xcb_out.window = window;
xcb_out.event_mask = event_mask;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
@@ -411,16 +297,6 @@ xcb_xfixes_get_cursor_image_sizeof (const void *_buffer /**< */)
return xcb_buffer_len;
}
-
-/*****************************************************************************
- **
- ** xcb_xfixes_get_cursor_image_cookie_t xcb_xfixes_get_cursor_image
- **
- ** @param xcb_connection_t *c
- ** @returns xcb_xfixes_get_cursor_image_cookie_t
- **
- *****************************************************************************/
-
xcb_xfixes_get_cursor_image_cookie_t
xcb_xfixes_get_cursor_image (xcb_connection_t *c /**< */)
{
@@ -430,31 +306,21 @@ xcb_xfixes_get_cursor_image (xcb_connection_t *c /**< */)
/* opcode */ XCB_XFIXES_GET_CURSOR_IMAGE,
/* isvoid */ 0
};
-
+
struct iovec xcb_parts[4];
xcb_xfixes_get_cursor_image_cookie_t xcb_ret;
xcb_xfixes_get_cursor_image_request_t xcb_out;
-
-
+
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_xfixes_get_cursor_image_cookie_t xcb_xfixes_get_cursor_image_unchecked
- **
- ** @param xcb_connection_t *c
- ** @returns xcb_xfixes_get_cursor_image_cookie_t
- **
- *****************************************************************************/
-
xcb_xfixes_get_cursor_image_cookie_t
xcb_xfixes_get_cursor_image_unchecked (xcb_connection_t *c /**< */)
{
@@ -464,63 +330,33 @@ xcb_xfixes_get_cursor_image_unchecked (xcb_connection_t *c /**< */)
/* opcode */ XCB_XFIXES_GET_CURSOR_IMAGE,
/* isvoid */ 0
};
-
+
struct iovec xcb_parts[4];
xcb_xfixes_get_cursor_image_cookie_t xcb_ret;
xcb_xfixes_get_cursor_image_request_t xcb_out;
-
-
+
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** uint32_t * xcb_xfixes_get_cursor_image_cursor_image
- **
- ** @param const xcb_xfixes_get_cursor_image_reply_t *R
- ** @returns uint32_t *
- **
- *****************************************************************************/
-
uint32_t *
xcb_xfixes_get_cursor_image_cursor_image (const xcb_xfixes_get_cursor_image_reply_t *R /**< */)
{
return (uint32_t *) (R + 1);
}
-
-/*****************************************************************************
- **
- ** int xcb_xfixes_get_cursor_image_cursor_image_length
- **
- ** @param const xcb_xfixes_get_cursor_image_reply_t *R
- ** @returns int
- **
- *****************************************************************************/
-
int
xcb_xfixes_get_cursor_image_cursor_image_length (const xcb_xfixes_get_cursor_image_reply_t *R /**< */)
{
return (R->width * R->height);
}
-
-/*****************************************************************************
- **
- ** xcb_generic_iterator_t xcb_xfixes_get_cursor_image_cursor_image_end
- **
- ** @param const xcb_xfixes_get_cursor_image_reply_t *R
- ** @returns xcb_generic_iterator_t
- **
- *****************************************************************************/
-
xcb_generic_iterator_t
xcb_xfixes_get_cursor_image_cursor_image_end (const xcb_xfixes_get_cursor_image_reply_t *R /**< */)
{
@@ -531,18 +367,6 @@ xcb_xfixes_get_cursor_image_cursor_image_end (const xcb_xfixes_get_cursor_image_
return i;
}
-
-/*****************************************************************************
- **
- ** xcb_xfixes_get_cursor_image_reply_t * xcb_xfixes_get_cursor_image_reply
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_get_cursor_image_cookie_t cookie
- ** @param xcb_generic_error_t **e
- ** @returns xcb_xfixes_get_cursor_image_reply_t *
- **
- *****************************************************************************/
-
xcb_xfixes_get_cursor_image_reply_t *
xcb_xfixes_get_cursor_image_reply (xcb_connection_t *c /**< */,
xcb_xfixes_get_cursor_image_cookie_t cookie /**< */,
@@ -551,16 +375,6 @@ xcb_xfixes_get_cursor_image_reply (xcb_connection_t *c /**
return (xcb_xfixes_get_cursor_image_reply_t *) xcb_wait_for_reply(c, cookie.sequence, e);
}
-
-/*****************************************************************************
- **
- ** void xcb_xfixes_region_next
- **
- ** @param xcb_xfixes_region_iterator_t *i
- ** @returns void
- **
- *****************************************************************************/
-
void
xcb_xfixes_region_next (xcb_xfixes_region_iterator_t *i /**< */)
{
@@ -569,16 +383,6 @@ xcb_xfixes_region_next (xcb_xfixes_region_iterator_t *i /**< */)
i->index += sizeof(xcb_xfixes_region_t);
}
-
-/*****************************************************************************
- **
- ** xcb_generic_iterator_t xcb_xfixes_region_end
- **
- ** @param xcb_xfixes_region_iterator_t i
- ** @returns xcb_generic_iterator_t
- **
- *****************************************************************************/
-
xcb_generic_iterator_t
xcb_xfixes_region_end (xcb_xfixes_region_iterator_t i /**< */)
{
@@ -620,19 +424,6 @@ xcb_xfixes_create_region_sizeof (const void *_buffer /**< */,
return xcb_buffer_len;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_create_region_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t region
- ** @param uint32_t rectangles_len
- ** @param const xcb_rectangle_t *rectangles
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_create_region_checked (xcb_connection_t *c /**< */,
xcb_xfixes_region_t region /**< */,
@@ -645,13 +436,13 @@ xcb_xfixes_create_region_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_CREATE_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[6];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_create_region_request_t xcb_out;
-
+
xcb_out.region = region;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
@@ -661,24 +452,11 @@ xcb_xfixes_create_region_checked (xcb_connection_t *c /**< */,
xcb_parts[4].iov_len = rectangles_len * sizeof(xcb_rectangle_t);
xcb_parts[5].iov_base = 0;
xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_create_region
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t region
- ** @param uint32_t rectangles_len
- ** @param const xcb_rectangle_t *rectangles
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_create_region (xcb_connection_t *c /**< */,
xcb_xfixes_region_t region /**< */,
@@ -691,13 +469,13 @@ xcb_xfixes_create_region (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_CREATE_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[6];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_create_region_request_t xcb_out;
-
+
xcb_out.region = region;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
@@ -707,23 +485,11 @@ xcb_xfixes_create_region (xcb_connection_t *c /**< */,
xcb_parts[4].iov_len = rectangles_len * sizeof(xcb_rectangle_t);
xcb_parts[5].iov_base = 0;
xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_create_region_from_bitmap_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t region
- ** @param xcb_pixmap_t bitmap
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_create_region_from_bitmap_checked (xcb_connection_t *c /**< */,
xcb_xfixes_region_t region /**< */,
@@ -735,35 +501,23 @@ xcb_xfixes_create_region_from_bitmap_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_CREATE_REGION_FROM_BITMAP,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_create_region_from_bitmap_request_t xcb_out;
-
+
xcb_out.region = region;
xcb_out.bitmap = bitmap;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_create_region_from_bitmap
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t region
- ** @param xcb_pixmap_t bitmap
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_create_region_from_bitmap (xcb_connection_t *c /**< */,
xcb_xfixes_region_t region /**< */,
@@ -775,36 +529,23 @@ xcb_xfixes_create_region_from_bitmap (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_CREATE_REGION_FROM_BITMAP,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_create_region_from_bitmap_request_t xcb_out;
-
+
xcb_out.region = region;
xcb_out.bitmap = bitmap;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_create_region_from_window_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t region
- ** @param xcb_window_t window
- ** @param xcb_shape_kind_t kind
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_create_region_from_window_checked (xcb_connection_t *c /**< */,
xcb_xfixes_region_t region /**< */,
@@ -817,38 +558,25 @@ xcb_xfixes_create_region_from_window_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_CREATE_REGION_FROM_WINDOW,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_create_region_from_window_request_t xcb_out;
-
+
xcb_out.region = region;
xcb_out.window = window;
xcb_out.kind = kind;
memset(xcb_out.pad0, 0, 3);
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_create_region_from_window
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t region
- ** @param xcb_window_t window
- ** @param xcb_shape_kind_t kind
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_create_region_from_window (xcb_connection_t *c /**< */,
xcb_xfixes_region_t region /**< */,
@@ -861,37 +589,25 @@ xcb_xfixes_create_region_from_window (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_CREATE_REGION_FROM_WINDOW,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_create_region_from_window_request_t xcb_out;
-
+
xcb_out.region = region;
xcb_out.window = window;
xcb_out.kind = kind;
memset(xcb_out.pad0, 0, 3);
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_create_region_from_gc_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t region
- ** @param xcb_gcontext_t gc
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_create_region_from_gc_checked (xcb_connection_t *c /**< */,
xcb_xfixes_region_t region /**< */,
@@ -903,35 +619,23 @@ xcb_xfixes_create_region_from_gc_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_CREATE_REGION_FROM_GC,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_create_region_from_gc_request_t xcb_out;
-
+
xcb_out.region = region;
xcb_out.gc = gc;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_create_region_from_gc
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t region
- ** @param xcb_gcontext_t gc
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_create_region_from_gc (xcb_connection_t *c /**< */,
xcb_xfixes_region_t region /**< */,
@@ -943,35 +647,23 @@ xcb_xfixes_create_region_from_gc (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_CREATE_REGION_FROM_GC,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_create_region_from_gc_request_t xcb_out;
-
+
xcb_out.region = region;
xcb_out.gc = gc;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_create_region_from_picture_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t region
- ** @param xcb_render_picture_t picture
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_create_region_from_picture_checked (xcb_connection_t *c /**< */,
xcb_xfixes_region_t region /**< */,
@@ -983,35 +675,23 @@ xcb_xfixes_create_region_from_picture_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_CREATE_REGION_FROM_PICTURE,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_create_region_from_picture_request_t xcb_out;
-
+
xcb_out.region = region;
xcb_out.picture = picture;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_create_region_from_picture
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t region
- ** @param xcb_render_picture_t picture
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_create_region_from_picture (xcb_connection_t *c /**< */,
xcb_xfixes_region_t region /**< */,
@@ -1023,34 +703,23 @@ xcb_xfixes_create_region_from_picture (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_CREATE_REGION_FROM_PICTURE,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_create_region_from_picture_request_t xcb_out;
-
+
xcb_out.region = region;
xcb_out.picture = picture;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_destroy_region_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t region
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_destroy_region_checked (xcb_connection_t *c /**< */,
xcb_xfixes_region_t region /**< */)
@@ -1061,33 +730,22 @@ xcb_xfixes_destroy_region_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_DESTROY_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_destroy_region_request_t xcb_out;
-
+
xcb_out.region = region;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_destroy_region
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t region
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_destroy_region (xcb_connection_t *c /**< */,
xcb_xfixes_region_t region /**< */)
@@ -1098,18 +756,18 @@ xcb_xfixes_destroy_region (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_DESTROY_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_destroy_region_request_t xcb_out;
-
+
xcb_out.region = region;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
@@ -1145,19 +803,6 @@ xcb_xfixes_set_region_sizeof (const void *_buffer /**< */,
return xcb_buffer_len;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_set_region_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t region
- ** @param uint32_t rectangles_len
- ** @param const xcb_rectangle_t *rectangles
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_set_region_checked (xcb_connection_t *c /**< */,
xcb_xfixes_region_t region /**< */,
@@ -1170,13 +815,13 @@ xcb_xfixes_set_region_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_SET_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[6];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_set_region_request_t xcb_out;
-
+
xcb_out.region = region;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
@@ -1186,24 +831,11 @@ xcb_xfixes_set_region_checked (xcb_connection_t *c /**< */,
xcb_parts[4].iov_len = rectangles_len * sizeof(xcb_rectangle_t);
xcb_parts[5].iov_base = 0;
xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_set_region
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t region
- ** @param uint32_t rectangles_len
- ** @param const xcb_rectangle_t *rectangles
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_set_region (xcb_connection_t *c /**< */,
xcb_xfixes_region_t region /**< */,
@@ -1216,13 +848,13 @@ xcb_xfixes_set_region (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_SET_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[6];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_set_region_request_t xcb_out;
-
+
xcb_out.region = region;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
@@ -1232,23 +864,11 @@ xcb_xfixes_set_region (xcb_connection_t *c /**< */,
xcb_parts[4].iov_len = rectangles_len * sizeof(xcb_rectangle_t);
xcb_parts[5].iov_base = 0;
xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_copy_region_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t source
- ** @param xcb_xfixes_region_t destination
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_copy_region_checked (xcb_connection_t *c /**< */,
xcb_xfixes_region_t source /**< */,
@@ -1260,35 +880,23 @@ xcb_xfixes_copy_region_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_COPY_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_copy_region_request_t xcb_out;
-
+
xcb_out.source = source;
xcb_out.destination = destination;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_copy_region
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t source
- ** @param xcb_xfixes_region_t destination
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_copy_region (xcb_connection_t *c /**< */,
xcb_xfixes_region_t source /**< */,
@@ -1300,36 +908,23 @@ xcb_xfixes_copy_region (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_COPY_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_copy_region_request_t xcb_out;
-
+
xcb_out.source = source;
xcb_out.destination = destination;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_union_region_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t source1
- ** @param xcb_xfixes_region_t source2
- ** @param xcb_xfixes_region_t destination
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_union_region_checked (xcb_connection_t *c /**< */,
xcb_xfixes_region_t source1 /**< */,
@@ -1342,37 +937,24 @@ xcb_xfixes_union_region_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_UNION_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_union_region_request_t xcb_out;
-
+
xcb_out.source1 = source1;
xcb_out.source2 = source2;
xcb_out.destination = destination;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_union_region
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t source1
- ** @param xcb_xfixes_region_t source2
- ** @param xcb_xfixes_region_t destination
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_union_region (xcb_connection_t *c /**< */,
xcb_xfixes_region_t source1 /**< */,
@@ -1385,37 +967,24 @@ xcb_xfixes_union_region (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_UNION_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_union_region_request_t xcb_out;
-
+
xcb_out.source1 = source1;
xcb_out.source2 = source2;
xcb_out.destination = destination;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_intersect_region_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t source1
- ** @param xcb_xfixes_region_t source2
- ** @param xcb_xfixes_region_t destination
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_intersect_region_checked (xcb_connection_t *c /**< */,
xcb_xfixes_region_t source1 /**< */,
@@ -1428,37 +997,24 @@ xcb_xfixes_intersect_region_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_INTERSECT_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_intersect_region_request_t xcb_out;
-
+
xcb_out.source1 = source1;
xcb_out.source2 = source2;
xcb_out.destination = destination;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_intersect_region
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t source1
- ** @param xcb_xfixes_region_t source2
- ** @param xcb_xfixes_region_t destination
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_intersect_region (xcb_connection_t *c /**< */,
xcb_xfixes_region_t source1 /**< */,
@@ -1471,37 +1027,24 @@ xcb_xfixes_intersect_region (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_INTERSECT_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_intersect_region_request_t xcb_out;
-
+
xcb_out.source1 = source1;
xcb_out.source2 = source2;
xcb_out.destination = destination;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_subtract_region_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t source1
- ** @param xcb_xfixes_region_t source2
- ** @param xcb_xfixes_region_t destination
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_subtract_region_checked (xcb_connection_t *c /**< */,
xcb_xfixes_region_t source1 /**< */,
@@ -1514,37 +1057,24 @@ xcb_xfixes_subtract_region_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_SUBTRACT_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_subtract_region_request_t xcb_out;
-
+
xcb_out.source1 = source1;
xcb_out.source2 = source2;
xcb_out.destination = destination;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_subtract_region
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t source1
- ** @param xcb_xfixes_region_t source2
- ** @param xcb_xfixes_region_t destination
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_subtract_region (xcb_connection_t *c /**< */,
xcb_xfixes_region_t source1 /**< */,
@@ -1557,37 +1087,24 @@ xcb_xfixes_subtract_region (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_SUBTRACT_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_subtract_region_request_t xcb_out;
-
+
xcb_out.source1 = source1;
xcb_out.source2 = source2;
xcb_out.destination = destination;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_invert_region_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t source
- ** @param xcb_rectangle_t bounds
- ** @param xcb_xfixes_region_t destination
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_invert_region_checked (xcb_connection_t *c /**< */,
xcb_xfixes_region_t source /**< */,
@@ -1600,37 +1117,24 @@ xcb_xfixes_invert_region_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_INVERT_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_invert_region_request_t xcb_out;
-
+
xcb_out.source = source;
xcb_out.bounds = bounds;
xcb_out.destination = destination;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_invert_region
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t source
- ** @param xcb_rectangle_t bounds
- ** @param xcb_xfixes_region_t destination
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_invert_region (xcb_connection_t *c /**< */,
xcb_xfixes_region_t source /**< */,
@@ -1643,37 +1147,24 @@ xcb_xfixes_invert_region (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_INVERT_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_invert_region_request_t xcb_out;
-
+
xcb_out.source = source;
xcb_out.bounds = bounds;
xcb_out.destination = destination;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_translate_region_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t region
- ** @param int16_t dx
- ** @param int16_t dy
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_translate_region_checked (xcb_connection_t *c /**< */,
xcb_xfixes_region_t region /**< */,
@@ -1686,37 +1177,24 @@ xcb_xfixes_translate_region_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_TRANSLATE_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_translate_region_request_t xcb_out;
-
+
xcb_out.region = region;
xcb_out.dx = dx;
xcb_out.dy = dy;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_translate_region
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t region
- ** @param int16_t dx
- ** @param int16_t dy
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_translate_region (xcb_connection_t *c /**< */,
xcb_xfixes_region_t region /**< */,
@@ -1729,36 +1207,24 @@ xcb_xfixes_translate_region (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_TRANSLATE_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_translate_region_request_t xcb_out;
-
+
xcb_out.region = region;
xcb_out.dx = dx;
xcb_out.dy = dy;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_region_extents_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t source
- ** @param xcb_xfixes_region_t destination
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_region_extents_checked (xcb_connection_t *c /**< */,
xcb_xfixes_region_t source /**< */,
@@ -1770,35 +1236,23 @@ xcb_xfixes_region_extents_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_REGION_EXTENTS,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_region_extents_request_t xcb_out;
-
+
xcb_out.source = source;
xcb_out.destination = destination;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_region_extents
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t source
- ** @param xcb_xfixes_region_t destination
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_region_extents (xcb_connection_t *c /**< */,
xcb_xfixes_region_t source /**< */,
@@ -1810,19 +1264,19 @@ xcb_xfixes_region_extents (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_REGION_EXTENTS,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_region_extents_request_t xcb_out;
-
+
xcb_out.source = source;
xcb_out.destination = destination;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
@@ -1858,17 +1312,6 @@ xcb_xfixes_fetch_region_sizeof (const void *_buffer /**< */)
return xcb_buffer_len;
}
-
-/*****************************************************************************
- **
- ** xcb_xfixes_fetch_region_cookie_t xcb_xfixes_fetch_region
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t region
- ** @returns xcb_xfixes_fetch_region_cookie_t
- **
- *****************************************************************************/
-
xcb_xfixes_fetch_region_cookie_t
xcb_xfixes_fetch_region (xcb_connection_t *c /**< */,
xcb_xfixes_region_t region /**< */)
@@ -1879,33 +1322,22 @@ xcb_xfixes_fetch_region (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_FETCH_REGION,
/* isvoid */ 0
};
-
+
struct iovec xcb_parts[4];
xcb_xfixes_fetch_region_cookie_t xcb_ret;
xcb_xfixes_fetch_region_request_t xcb_out;
-
+
xcb_out.region = region;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_xfixes_fetch_region_cookie_t xcb_xfixes_fetch_region_unchecked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t region
- ** @returns xcb_xfixes_fetch_region_cookie_t
- **
- *****************************************************************************/
-
xcb_xfixes_fetch_region_cookie_t
xcb_xfixes_fetch_region_unchecked (xcb_connection_t *c /**< */,
xcb_xfixes_region_t region /**< */)
@@ -1916,64 +1348,34 @@ xcb_xfixes_fetch_region_unchecked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_FETCH_REGION,
/* isvoid */ 0
};
-
+
struct iovec xcb_parts[4];
xcb_xfixes_fetch_region_cookie_t xcb_ret;
xcb_xfixes_fetch_region_request_t xcb_out;
-
+
xcb_out.region = region;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_rectangle_t * xcb_xfixes_fetch_region_rectangles
- **
- ** @param const xcb_xfixes_fetch_region_reply_t *R
- ** @returns xcb_rectangle_t *
- **
- *****************************************************************************/
-
xcb_rectangle_t *
xcb_xfixes_fetch_region_rectangles (const xcb_xfixes_fetch_region_reply_t *R /**< */)
{
return (xcb_rectangle_t *) (R + 1);
}
-
-/*****************************************************************************
- **
- ** int xcb_xfixes_fetch_region_rectangles_length
- **
- ** @param const xcb_xfixes_fetch_region_reply_t *R
- ** @returns int
- **
- *****************************************************************************/
-
int
xcb_xfixes_fetch_region_rectangles_length (const xcb_xfixes_fetch_region_reply_t *R /**< */)
{
return (R->length / 2);
}
-
-/*****************************************************************************
- **
- ** xcb_rectangle_iterator_t xcb_xfixes_fetch_region_rectangles_iterator
- **
- ** @param const xcb_xfixes_fetch_region_reply_t *R
- ** @returns xcb_rectangle_iterator_t
- **
- *****************************************************************************/
-
xcb_rectangle_iterator_t
xcb_xfixes_fetch_region_rectangles_iterator (const xcb_xfixes_fetch_region_reply_t *R /**< */)
{
@@ -1984,18 +1386,6 @@ xcb_xfixes_fetch_region_rectangles_iterator (const xcb_xfixes_fetch_region_reply
return i;
}
-
-/*****************************************************************************
- **
- ** xcb_xfixes_fetch_region_reply_t * xcb_xfixes_fetch_region_reply
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_fetch_region_cookie_t cookie
- ** @param xcb_generic_error_t **e
- ** @returns xcb_xfixes_fetch_region_reply_t *
- **
- *****************************************************************************/
-
xcb_xfixes_fetch_region_reply_t *
xcb_xfixes_fetch_region_reply (xcb_connection_t *c /**< */,
xcb_xfixes_fetch_region_cookie_t cookie /**< */,
@@ -2004,20 +1394,6 @@ xcb_xfixes_fetch_region_reply (xcb_connection_t *c /**< */,
return (xcb_xfixes_fetch_region_reply_t *) xcb_wait_for_reply(c, cookie.sequence, e);
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_set_gc_clip_region_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_gcontext_t gc
- ** @param xcb_xfixes_region_t region
- ** @param int16_t x_origin
- ** @param int16_t y_origin
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_set_gc_clip_region_checked (xcb_connection_t *c /**< */,
xcb_gcontext_t gc /**< */,
@@ -2031,39 +1407,25 @@ xcb_xfixes_set_gc_clip_region_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_SET_GC_CLIP_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_set_gc_clip_region_request_t xcb_out;
-
+
xcb_out.gc = gc;
xcb_out.region = region;
xcb_out.x_origin = x_origin;
xcb_out.y_origin = y_origin;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_set_gc_clip_region
- **
- ** @param xcb_connection_t *c
- ** @param xcb_gcontext_t gc
- ** @param xcb_xfixes_region_t region
- ** @param int16_t x_origin
- ** @param int16_t y_origin
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_set_gc_clip_region (xcb_connection_t *c /**< */,
xcb_gcontext_t gc /**< */,
@@ -2077,40 +1439,25 @@ xcb_xfixes_set_gc_clip_region (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_SET_GC_CLIP_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_set_gc_clip_region_request_t xcb_out;
-
+
xcb_out.gc = gc;
xcb_out.region = region;
xcb_out.x_origin = x_origin;
xcb_out.y_origin = y_origin;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_set_window_shape_region_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_window_t dest
- ** @param xcb_shape_kind_t dest_kind
- ** @param int16_t x_offset
- ** @param int16_t y_offset
- ** @param xcb_xfixes_region_t region
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_set_window_shape_region_checked (xcb_connection_t *c /**< */,
xcb_window_t dest /**< */,
@@ -2125,42 +1472,27 @@ xcb_xfixes_set_window_shape_region_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_SET_WINDOW_SHAPE_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_set_window_shape_region_request_t xcb_out;
-
+
xcb_out.dest = dest;
xcb_out.dest_kind = dest_kind;
memset(xcb_out.pad0, 0, 3);
xcb_out.x_offset = x_offset;
xcb_out.y_offset = y_offset;
xcb_out.region = region;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_set_window_shape_region
- **
- ** @param xcb_connection_t *c
- ** @param xcb_window_t dest
- ** @param xcb_shape_kind_t dest_kind
- ** @param int16_t x_offset
- ** @param int16_t y_offset
- ** @param xcb_xfixes_region_t region
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_set_window_shape_region (xcb_connection_t *c /**< */,
xcb_window_t dest /**< */,
@@ -2175,41 +1507,27 @@ xcb_xfixes_set_window_shape_region (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_SET_WINDOW_SHAPE_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_set_window_shape_region_request_t xcb_out;
-
+
xcb_out.dest = dest;
xcb_out.dest_kind = dest_kind;
memset(xcb_out.pad0, 0, 3);
xcb_out.x_offset = x_offset;
xcb_out.y_offset = y_offset;
xcb_out.region = region;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_set_picture_clip_region_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_render_picture_t picture
- ** @param xcb_xfixes_region_t region
- ** @param int16_t x_origin
- ** @param int16_t y_origin
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_set_picture_clip_region_checked (xcb_connection_t *c /**< */,
xcb_render_picture_t picture /**< */,
@@ -2223,39 +1541,25 @@ xcb_xfixes_set_picture_clip_region_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_SET_PICTURE_CLIP_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_set_picture_clip_region_request_t xcb_out;
-
+
xcb_out.picture = picture;
xcb_out.region = region;
xcb_out.x_origin = x_origin;
xcb_out.y_origin = y_origin;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_set_picture_clip_region
- **
- ** @param xcb_connection_t *c
- ** @param xcb_render_picture_t picture
- ** @param xcb_xfixes_region_t region
- ** @param int16_t x_origin
- ** @param int16_t y_origin
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_set_picture_clip_region (xcb_connection_t *c /**< */,
xcb_render_picture_t picture /**< */,
@@ -2269,21 +1573,21 @@ xcb_xfixes_set_picture_clip_region (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_SET_PICTURE_CLIP_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_set_picture_clip_region_request_t xcb_out;
-
+
xcb_out.picture = picture;
xcb_out.region = region;
xcb_out.x_origin = x_origin;
xcb_out.y_origin = y_origin;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
@@ -2319,19 +1623,6 @@ xcb_xfixes_set_cursor_name_sizeof (const void *_buffer /**< */)
return xcb_buffer_len;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_set_cursor_name_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_cursor_t cursor
- ** @param uint16_t nbytes
- ** @param const char *name
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_set_cursor_name_checked (xcb_connection_t *c /**< */,
xcb_cursor_t cursor /**< */,
@@ -2344,15 +1635,15 @@ xcb_xfixes_set_cursor_name_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_SET_CURSOR_NAME,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[6];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_set_cursor_name_request_t xcb_out;
-
+
xcb_out.cursor = cursor;
xcb_out.nbytes = nbytes;
memset(xcb_out.pad0, 0, 2);
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
@@ -2362,24 +1653,11 @@ xcb_xfixes_set_cursor_name_checked (xcb_connection_t *c /**< */,
xcb_parts[4].iov_len = nbytes * sizeof(char);
xcb_parts[5].iov_base = 0;
xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_set_cursor_name
- **
- ** @param xcb_connection_t *c
- ** @param xcb_cursor_t cursor
- ** @param uint16_t nbytes
- ** @param const char *name
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_set_cursor_name (xcb_connection_t *c /**< */,
xcb_cursor_t cursor /**< */,
@@ -2392,15 +1670,15 @@ xcb_xfixes_set_cursor_name (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_SET_CURSOR_NAME,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[6];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_set_cursor_name_request_t xcb_out;
-
+
xcb_out.cursor = cursor;
xcb_out.nbytes = nbytes;
memset(xcb_out.pad0, 0, 2);
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
@@ -2410,7 +1688,7 @@ xcb_xfixes_set_cursor_name (xcb_connection_t *c /**< */,
xcb_parts[4].iov_len = nbytes * sizeof(char);
xcb_parts[5].iov_base = 0;
xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
@@ -2446,17 +1724,6 @@ xcb_xfixes_get_cursor_name_sizeof (const void *_buffer /**< */)
return xcb_buffer_len;
}
-
-/*****************************************************************************
- **
- ** xcb_xfixes_get_cursor_name_cookie_t xcb_xfixes_get_cursor_name
- **
- ** @param xcb_connection_t *c
- ** @param xcb_cursor_t cursor
- ** @returns xcb_xfixes_get_cursor_name_cookie_t
- **
- *****************************************************************************/
-
xcb_xfixes_get_cursor_name_cookie_t
xcb_xfixes_get_cursor_name (xcb_connection_t *c /**< */,
xcb_cursor_t cursor /**< */)
@@ -2467,33 +1734,22 @@ xcb_xfixes_get_cursor_name (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_GET_CURSOR_NAME,
/* isvoid */ 0
};
-
+
struct iovec xcb_parts[4];
xcb_xfixes_get_cursor_name_cookie_t xcb_ret;
xcb_xfixes_get_cursor_name_request_t xcb_out;
-
+
xcb_out.cursor = cursor;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_xfixes_get_cursor_name_cookie_t xcb_xfixes_get_cursor_name_unchecked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_cursor_t cursor
- ** @returns xcb_xfixes_get_cursor_name_cookie_t
- **
- *****************************************************************************/
-
xcb_xfixes_get_cursor_name_cookie_t
xcb_xfixes_get_cursor_name_unchecked (xcb_connection_t *c /**< */,
xcb_cursor_t cursor /**< */)
@@ -2504,64 +1760,34 @@ xcb_xfixes_get_cursor_name_unchecked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_GET_CURSOR_NAME,
/* isvoid */ 0
};
-
+
struct iovec xcb_parts[4];
xcb_xfixes_get_cursor_name_cookie_t xcb_ret;
xcb_xfixes_get_cursor_name_request_t xcb_out;
-
+
xcb_out.cursor = cursor;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** char * xcb_xfixes_get_cursor_name_name
- **
- ** @param const xcb_xfixes_get_cursor_name_reply_t *R
- ** @returns char *
- **
- *****************************************************************************/
-
char *
xcb_xfixes_get_cursor_name_name (const xcb_xfixes_get_cursor_name_reply_t *R /**< */)
{
return (char *) (R + 1);
}
-
-/*****************************************************************************
- **
- ** int xcb_xfixes_get_cursor_name_name_length
- **
- ** @param const xcb_xfixes_get_cursor_name_reply_t *R
- ** @returns int
- **
- *****************************************************************************/
-
int
xcb_xfixes_get_cursor_name_name_length (const xcb_xfixes_get_cursor_name_reply_t *R /**< */)
{
return R->nbytes;
}
-
-/*****************************************************************************
- **
- ** xcb_generic_iterator_t xcb_xfixes_get_cursor_name_name_end
- **
- ** @param const xcb_xfixes_get_cursor_name_reply_t *R
- ** @returns xcb_generic_iterator_t
- **
- *****************************************************************************/
-
xcb_generic_iterator_t
xcb_xfixes_get_cursor_name_name_end (const xcb_xfixes_get_cursor_name_reply_t *R /**< */)
{
@@ -2572,18 +1798,6 @@ xcb_xfixes_get_cursor_name_name_end (const xcb_xfixes_get_cursor_name_reply_t *R
return i;
}
-
-/*****************************************************************************
- **
- ** xcb_xfixes_get_cursor_name_reply_t * xcb_xfixes_get_cursor_name_reply
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_get_cursor_name_cookie_t cookie
- ** @param xcb_generic_error_t **e
- ** @returns xcb_xfixes_get_cursor_name_reply_t *
- **
- *****************************************************************************/
-
xcb_xfixes_get_cursor_name_reply_t *
xcb_xfixes_get_cursor_name_reply (xcb_connection_t *c /**< */,
xcb_xfixes_get_cursor_name_cookie_t cookie /**< */,
@@ -2635,16 +1849,6 @@ xcb_xfixes_get_cursor_image_and_name_sizeof (const void *_buffer /**< */)
return xcb_buffer_len;
}
-
-/*****************************************************************************
- **
- ** xcb_xfixes_get_cursor_image_and_name_cookie_t xcb_xfixes_get_cursor_image_and_name
- **
- ** @param xcb_connection_t *c
- ** @returns xcb_xfixes_get_cursor_image_and_name_cookie_t
- **
- *****************************************************************************/
-
xcb_xfixes_get_cursor_image_and_name_cookie_t
xcb_xfixes_get_cursor_image_and_name (xcb_connection_t *c /**< */)
{
@@ -2654,31 +1858,21 @@ xcb_xfixes_get_cursor_image_and_name (xcb_connection_t *c /**< */)
/* opcode */ XCB_XFIXES_GET_CURSOR_IMAGE_AND_NAME,
/* isvoid */ 0
};
-
+
struct iovec xcb_parts[4];
xcb_xfixes_get_cursor_image_and_name_cookie_t xcb_ret;
xcb_xfixes_get_cursor_image_and_name_request_t xcb_out;
-
-
+
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_xfixes_get_cursor_image_and_name_cookie_t xcb_xfixes_get_cursor_image_and_name_unchecked
- **
- ** @param xcb_connection_t *c
- ** @returns xcb_xfixes_get_cursor_image_and_name_cookie_t
- **
- *****************************************************************************/
-
xcb_xfixes_get_cursor_image_and_name_cookie_t
xcb_xfixes_get_cursor_image_and_name_unchecked (xcb_connection_t *c /**< */)
{
@@ -2688,63 +1882,33 @@ xcb_xfixes_get_cursor_image_and_name_unchecked (xcb_connection_t *c /**< */)
/* opcode */ XCB_XFIXES_GET_CURSOR_IMAGE_AND_NAME,
/* isvoid */ 0
};
-
+
struct iovec xcb_parts[4];
xcb_xfixes_get_cursor_image_and_name_cookie_t xcb_ret;
xcb_xfixes_get_cursor_image_and_name_request_t xcb_out;
-
-
+
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** char * xcb_xfixes_get_cursor_image_and_name_name
- **
- ** @param const xcb_xfixes_get_cursor_image_and_name_reply_t *R
- ** @returns char *
- **
- *****************************************************************************/
-
char *
xcb_xfixes_get_cursor_image_and_name_name (const xcb_xfixes_get_cursor_image_and_name_reply_t *R /**< */)
{
return (char *) (R + 1);
}
-
-/*****************************************************************************
- **
- ** int xcb_xfixes_get_cursor_image_and_name_name_length
- **
- ** @param const xcb_xfixes_get_cursor_image_and_name_reply_t *R
- ** @returns int
- **
- *****************************************************************************/
-
int
xcb_xfixes_get_cursor_image_and_name_name_length (const xcb_xfixes_get_cursor_image_and_name_reply_t *R /**< */)
{
return R->nbytes;
}
-
-/*****************************************************************************
- **
- ** xcb_generic_iterator_t xcb_xfixes_get_cursor_image_and_name_name_end
- **
- ** @param const xcb_xfixes_get_cursor_image_and_name_reply_t *R
- ** @returns xcb_generic_iterator_t
- **
- *****************************************************************************/
-
xcb_generic_iterator_t
xcb_xfixes_get_cursor_image_and_name_name_end (const xcb_xfixes_get_cursor_image_and_name_reply_t *R /**< */)
{
@@ -2755,16 +1919,6 @@ xcb_xfixes_get_cursor_image_and_name_name_end (const xcb_xfixes_get_cursor_image
return i;
}
-
-/*****************************************************************************
- **
- ** uint32_t * xcb_xfixes_get_cursor_image_and_name_cursor_image
- **
- ** @param const xcb_xfixes_get_cursor_image_and_name_reply_t *R
- ** @returns uint32_t *
- **
- *****************************************************************************/
-
uint32_t *
xcb_xfixes_get_cursor_image_and_name_cursor_image (const xcb_xfixes_get_cursor_image_and_name_reply_t *R /**< */)
{
@@ -2772,32 +1926,12 @@ xcb_xfixes_get_cursor_image_and_name_cursor_image (const xcb_xfixes_get_cursor_i
return (uint32_t *) ((char *) prev.data + XCB_TYPE_PAD(uint32_t, prev.index) + 0);
}
-
-/*****************************************************************************
- **
- ** int xcb_xfixes_get_cursor_image_and_name_cursor_image_length
- **
- ** @param const xcb_xfixes_get_cursor_image_and_name_reply_t *R
- ** @returns int
- **
- *****************************************************************************/
-
int
xcb_xfixes_get_cursor_image_and_name_cursor_image_length (const xcb_xfixes_get_cursor_image_and_name_reply_t *R /**< */)
{
return (R->width * R->height);
}
-
-/*****************************************************************************
- **
- ** xcb_generic_iterator_t xcb_xfixes_get_cursor_image_and_name_cursor_image_end
- **
- ** @param const xcb_xfixes_get_cursor_image_and_name_reply_t *R
- ** @returns xcb_generic_iterator_t
- **
- *****************************************************************************/
-
xcb_generic_iterator_t
xcb_xfixes_get_cursor_image_and_name_cursor_image_end (const xcb_xfixes_get_cursor_image_and_name_reply_t *R /**< */)
{
@@ -2809,18 +1943,6 @@ xcb_xfixes_get_cursor_image_and_name_cursor_image_end (const xcb_xfixes_get_curs
return i;
}
-
-/*****************************************************************************
- **
- ** xcb_xfixes_get_cursor_image_and_name_reply_t * xcb_xfixes_get_cursor_image_and_name_reply
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_get_cursor_image_and_name_cookie_t cookie
- ** @param xcb_generic_error_t **e
- ** @returns xcb_xfixes_get_cursor_image_and_name_reply_t *
- **
- *****************************************************************************/
-
xcb_xfixes_get_cursor_image_and_name_reply_t *
xcb_xfixes_get_cursor_image_and_name_reply (xcb_connection_t *c /**< */,
xcb_xfixes_get_cursor_image_and_name_cookie_t cookie /**< */,
@@ -2829,18 +1951,6 @@ xcb_xfixes_get_cursor_image_and_name_reply (xcb_connection_t
return (xcb_xfixes_get_cursor_image_and_name_reply_t *) xcb_wait_for_reply(c, cookie.sequence, e);
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_change_cursor_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_cursor_t source
- ** @param xcb_cursor_t destination
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_change_cursor_checked (xcb_connection_t *c /**< */,
xcb_cursor_t source /**< */,
@@ -2852,35 +1962,23 @@ xcb_xfixes_change_cursor_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_CHANGE_CURSOR,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_change_cursor_request_t xcb_out;
-
+
xcb_out.source = source;
xcb_out.destination = destination;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_change_cursor
- **
- ** @param xcb_connection_t *c
- ** @param xcb_cursor_t source
- ** @param xcb_cursor_t destination
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_change_cursor (xcb_connection_t *c /**< */,
xcb_cursor_t source /**< */,
@@ -2892,19 +1990,19 @@ xcb_xfixes_change_cursor (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_CHANGE_CURSOR,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_change_cursor_request_t xcb_out;
-
+
xcb_out.source = source;
xcb_out.destination = destination;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
@@ -2940,19 +2038,6 @@ xcb_xfixes_change_cursor_by_name_sizeof (const void *_buffer /**< */)
return xcb_buffer_len;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_change_cursor_by_name_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_cursor_t src
- ** @param uint16_t nbytes
- ** @param const char *name
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_change_cursor_by_name_checked (xcb_connection_t *c /**< */,
xcb_cursor_t src /**< */,
@@ -2965,15 +2050,15 @@ xcb_xfixes_change_cursor_by_name_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_CHANGE_CURSOR_BY_NAME,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[6];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_change_cursor_by_name_request_t xcb_out;
-
+
xcb_out.src = src;
xcb_out.nbytes = nbytes;
memset(xcb_out.pad0, 0, 2);
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
@@ -2983,24 +2068,11 @@ xcb_xfixes_change_cursor_by_name_checked (xcb_connection_t *c /**< */,
xcb_parts[4].iov_len = nbytes * sizeof(char);
xcb_parts[5].iov_base = 0;
xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_change_cursor_by_name
- **
- ** @param xcb_connection_t *c
- ** @param xcb_cursor_t src
- ** @param uint16_t nbytes
- ** @param const char *name
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_change_cursor_by_name (xcb_connection_t *c /**< */,
xcb_cursor_t src /**< */,
@@ -3013,15 +2085,15 @@ xcb_xfixes_change_cursor_by_name (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_CHANGE_CURSOR_BY_NAME,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[6];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_change_cursor_by_name_request_t xcb_out;
-
+
xcb_out.src = src;
xcb_out.nbytes = nbytes;
memset(xcb_out.pad0, 0, 2);
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
@@ -3031,27 +2103,11 @@ xcb_xfixes_change_cursor_by_name (xcb_connection_t *c /**< */,
xcb_parts[4].iov_len = nbytes * sizeof(char);
xcb_parts[5].iov_base = 0;
xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_expand_region_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t source
- ** @param xcb_xfixes_region_t destination
- ** @param uint16_t left
- ** @param uint16_t right
- ** @param uint16_t top
- ** @param uint16_t bottom
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_expand_region_checked (xcb_connection_t *c /**< */,
xcb_xfixes_region_t source /**< */,
@@ -3067,43 +2123,27 @@ xcb_xfixes_expand_region_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_EXPAND_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_expand_region_request_t xcb_out;
-
+
xcb_out.source = source;
xcb_out.destination = destination;
xcb_out.left = left;
xcb_out.right = right;
xcb_out.top = top;
xcb_out.bottom = bottom;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_expand_region
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_region_t source
- ** @param xcb_xfixes_region_t destination
- ** @param uint16_t left
- ** @param uint16_t right
- ** @param uint16_t top
- ** @param uint16_t bottom
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_expand_region (xcb_connection_t *c /**< */,
xcb_xfixes_region_t source /**< */,
@@ -3119,38 +2159,27 @@ xcb_xfixes_expand_region (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_EXPAND_REGION,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_expand_region_request_t xcb_out;
-
+
xcb_out.source = source;
xcb_out.destination = destination;
xcb_out.left = left;
xcb_out.right = right;
xcb_out.top = top;
xcb_out.bottom = bottom;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_hide_cursor_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_window_t window
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_hide_cursor_checked (xcb_connection_t *c /**< */,
xcb_window_t window /**< */)
@@ -3161,33 +2190,22 @@ xcb_xfixes_hide_cursor_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_HIDE_CURSOR,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_hide_cursor_request_t xcb_out;
-
+
xcb_out.window = window;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_hide_cursor
- **
- ** @param xcb_connection_t *c
- ** @param xcb_window_t window
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_hide_cursor (xcb_connection_t *c /**< */,
xcb_window_t window /**< */)
@@ -3198,33 +2216,22 @@ xcb_xfixes_hide_cursor (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_HIDE_CURSOR,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_hide_cursor_request_t xcb_out;
-
+
xcb_out.window = window;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_show_cursor_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_window_t window
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_show_cursor_checked (xcb_connection_t *c /**< */,
xcb_window_t window /**< */)
@@ -3235,33 +2242,22 @@ xcb_xfixes_show_cursor_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_SHOW_CURSOR,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_show_cursor_request_t xcb_out;
-
+
xcb_out.window = window;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_show_cursor
- **
- ** @param xcb_connection_t *c
- ** @param xcb_window_t window
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_show_cursor (xcb_connection_t *c /**< */,
xcb_window_t window /**< */)
@@ -3272,32 +2268,22 @@ xcb_xfixes_show_cursor (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_SHOW_CURSOR,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_show_cursor_request_t xcb_out;
-
+
xcb_out.window = window;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** void xcb_xfixes_barrier_next
- **
- ** @param xcb_xfixes_barrier_iterator_t *i
- ** @returns void
- **
- *****************************************************************************/
-
void
xcb_xfixes_barrier_next (xcb_xfixes_barrier_iterator_t *i /**< */)
{
@@ -3306,16 +2292,6 @@ xcb_xfixes_barrier_next (xcb_xfixes_barrier_iterator_t *i /**< */)
i->index += sizeof(xcb_xfixes_barrier_t);
}
-
-/*****************************************************************************
- **
- ** xcb_generic_iterator_t xcb_xfixes_barrier_end
- **
- ** @param xcb_xfixes_barrier_iterator_t i
- ** @returns xcb_generic_iterator_t
- **
- *****************************************************************************/
-
xcb_generic_iterator_t
xcb_xfixes_barrier_end (xcb_xfixes_barrier_iterator_t i /**< */)
{
@@ -3357,25 +2333,6 @@ xcb_xfixes_create_pointer_barrier_sizeof (const void *_buffer /**< */)
return xcb_buffer_len;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_create_pointer_barrier_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_barrier_t barrier
- ** @param xcb_window_t window
- ** @param uint16_t x1
- ** @param uint16_t y1
- ** @param uint16_t x2
- ** @param uint16_t y2
- ** @param uint32_t directions
- ** @param uint16_t num_devices
- ** @param const uint16_t *devices
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_create_pointer_barrier_checked (xcb_connection_t *c /**< */,
xcb_xfixes_barrier_t barrier /**< */,
@@ -3394,11 +2351,11 @@ xcb_xfixes_create_pointer_barrier_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_CREATE_POINTER_BARRIER,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[6];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_create_pointer_barrier_request_t xcb_out;
-
+
xcb_out.barrier = barrier;
xcb_out.window = window;
xcb_out.x1 = x1;
@@ -3408,7 +2365,7 @@ xcb_xfixes_create_pointer_barrier_checked (xcb_connection_t *c /**< */,
xcb_out.directions = directions;
memset(xcb_out.pad0, 0, 2);
xcb_out.num_devices = num_devices;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
@@ -3418,30 +2375,11 @@ xcb_xfixes_create_pointer_barrier_checked (xcb_connection_t *c /**< */,
xcb_parts[4].iov_len = num_devices * sizeof(uint16_t);
xcb_parts[5].iov_base = 0;
xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_create_pointer_barrier
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_barrier_t barrier
- ** @param xcb_window_t window
- ** @param uint16_t x1
- ** @param uint16_t y1
- ** @param uint16_t x2
- ** @param uint16_t y2
- ** @param uint32_t directions
- ** @param uint16_t num_devices
- ** @param const uint16_t *devices
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_create_pointer_barrier (xcb_connection_t *c /**< */,
xcb_xfixes_barrier_t barrier /**< */,
@@ -3460,11 +2398,11 @@ xcb_xfixes_create_pointer_barrier (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_CREATE_POINTER_BARRIER,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[6];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_create_pointer_barrier_request_t xcb_out;
-
+
xcb_out.barrier = barrier;
xcb_out.window = window;
xcb_out.x1 = x1;
@@ -3474,7 +2412,7 @@ xcb_xfixes_create_pointer_barrier (xcb_connection_t *c /**< */,
xcb_out.directions = directions;
memset(xcb_out.pad0, 0, 2);
xcb_out.num_devices = num_devices;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
@@ -3484,22 +2422,11 @@ xcb_xfixes_create_pointer_barrier (xcb_connection_t *c /**< */,
xcb_parts[4].iov_len = num_devices * sizeof(uint16_t);
xcb_parts[5].iov_base = 0;
xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_delete_pointer_barrier_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_barrier_t barrier
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_delete_pointer_barrier_checked (xcb_connection_t *c /**< */,
xcb_xfixes_barrier_t barrier /**< */)
@@ -3510,33 +2437,22 @@ xcb_xfixes_delete_pointer_barrier_checked (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_DELETE_POINTER_BARRIER,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_delete_pointer_barrier_request_t xcb_out;
-
+
xcb_out.barrier = barrier;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_xfixes_delete_pointer_barrier
- **
- ** @param xcb_connection_t *c
- ** @param xcb_xfixes_barrier_t barrier
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_xfixes_delete_pointer_barrier (xcb_connection_t *c /**< */,
xcb_xfixes_barrier_t barrier /**< */)
@@ -3547,18 +2463,18 @@ xcb_xfixes_delete_pointer_barrier (xcb_connection_t *c /**< */,
/* opcode */ XCB_XFIXES_DELETE_POINTER_BARRIER,
/* isvoid */ 1
};
-
+
struct iovec xcb_parts[4];
xcb_void_cookie_t xcb_ret;
xcb_xfixes_delete_pointer_barrier_request_t xcb_out;
-
+
xcb_out.barrier = barrier;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}