[Xcb] [PATCH] Add xcb_aux_change_window_attributes_checked
Mikhail Gusarov
dottedmag at dottedmag.net
Sun Apr 19 06:01:00 PDT 2009
There is xcb_aux_change_window_attributes, add the matching checked
function.
Signed-off-by: Mikhail Gusarov <dottedmag at dottedmag.net>
---
aux/xcb_aux.c | 11 +++++++++++
aux/xcb_aux.h | 6 ++++++
2 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/aux/xcb_aux.c b/aux/xcb_aux.c
index 1adc02a..c810398 100644
--- a/aux/xcb_aux.c
+++ b/aux/xcb_aux.c
@@ -208,6 +208,17 @@ xcb_aux_create_window_checked (xcb_connection_t *c,
}
xcb_void_cookie_t
+xcb_aux_change_window_attributes_checked (xcb_connection_t *c,
+ xcb_window_t window,
+ uint32_t mask,
+ const xcb_params_cw_t *params)
+{
+ uint32_t value_list[16];
+ pack_list(mask, (const uint32_t *)params, value_list);
+ return xcb_change_window_attributes_checked( c, window, mask, value_list );
+}
+
+xcb_void_cookie_t
xcb_aux_change_window_attributes (xcb_connection_t *c,
xcb_window_t window,
uint32_t mask,
diff --git a/aux/xcb_aux.h b/aux/xcb_aux.h
index 011736e..d49d438 100644
--- a/aux/xcb_aux.h
+++ b/aux/xcb_aux.h
@@ -102,6 +102,12 @@ xcb_aux_change_window_attributes (xcb_connection_t *c,
uint32_t mask,
const xcb_params_cw_t *params);
+xcb_void_cookie_t
+xcb_aux_change_window_attributes_checked (xcb_connection_t *c,
+ xcb_window_t window,
+ uint32_t mask,
+ const xcb_params_cw_t *params);
+
typedef struct {
int32_t x;
int32_t y;
--
1.6.2.1
More information about the Xcb
mailing list