[Xcb-commit] aux
Julien Danjou
jdanjou at kemper.freedesktop.org
Sun Apr 19 11:41:23 PDT 2009
aux/xcb_aux.c | 11 +++++++++++
aux/xcb_aux.h | 6 ++++++
2 files changed, 17 insertions(+)
New commits:
commit 48cb146c43818abadd3148235570a01adc79b9d6
Author: Mikhail Gusarov <dottedmag at dottedmag.net>
Date: Sun Apr 19 20:01:00 2009 +0700
Add xcb_aux_change_window_attributes_checked
There is xcb_aux_change_window_attributes, add the matching checked
function.
Signed-off-by: Mikhail Gusarov <dottedmag at dottedmag.net>
Signed-off-by: Julien Danjou <julien at danjou.info>
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;
More information about the xcb-commit
mailing list