summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aux/xcb_aux.c11
-rw-r--r--aux/xcb_aux.h5
2 files changed, 16 insertions, 0 deletions
diff --git a/aux/xcb_aux.c b/aux/xcb_aux.c
index 0be8acf..457b96d 100644
--- a/aux/xcb_aux.c
+++ b/aux/xcb_aux.c
@@ -236,6 +236,17 @@ xcb_aux_change_gc (xcb_connection_t *c,
}
xcb_void_cookie_t
+xcb_aux_change_gc_checked (xcb_connection_t *c,
+ xcb_gcontext_t gc,
+ uint32_t mask,
+ const xcb_params_gc_t *params)
+{
+ uint32_t value_list[32];
+ pack_list(mask, (const uint32_t *)params, value_list);
+ return xcb_change_gc_checked( c, gc, mask, value_list );
+}
+
+xcb_void_cookie_t
xcb_aux_change_keyboard_control (xcb_connection_t *c,
uint32_t mask,
const xcb_params_keyboard_t *params)
diff --git a/aux/xcb_aux.h b/aux/xcb_aux.h
index dcc534e..70d1ff8 100644
--- a/aux/xcb_aux.h
+++ b/aux/xcb_aux.h
@@ -148,6 +148,11 @@ xcb_aux_change_gc (xcb_connection_t *c,
uint32_t mask,
const xcb_params_gc_t *params);
+xcb_void_cookie_t
+xcb_aux_change_gc_checked (xcb_connection_t *c,
+ xcb_gcontext_t gc,
+ uint32_t mask,
+ const xcb_params_gc_t *params);
typedef struct {
uint32_t key_click_percent;
uint32_t bell_percent;