diff options
Diffstat (limited to 'aux/xcb_aux.c')
-rw-r--r-- | aux/xcb_aux.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/aux/xcb_aux.c b/aux/xcb_aux.c index d9a6295..0be8acf 100644 --- a/aux/xcb_aux.c +++ b/aux/xcb_aux.c @@ -157,6 +157,28 @@ xcb_aux_create_window (xcb_connection_t *c, } xcb_void_cookie_t +xcb_aux_create_window_checked (xcb_connection_t *c, + uint8_t depth, + xcb_window_t wid, + xcb_window_t parent, + int16_t x, + int16_t y, + uint16_t width, + uint16_t height, + uint16_t border_width, + uint16_t _class, + xcb_visualid_t visual, + uint32_t mask, + const xcb_params_cw_t *params) +{ + uint32_t value_list[16]; + pack_list(mask, (const uint32_t *)params, value_list); + return xcb_create_window_checked(c, depth, wid, parent, + x, y, width, height, border_width, + _class, visual, mask, value_list); +} + +xcb_void_cookie_t xcb_aux_change_window_attributes (xcb_connection_t *c, xcb_window_t window, uint32_t mask, @@ -191,6 +213,18 @@ xcb_aux_create_gc (xcb_connection_t *c, } xcb_void_cookie_t +xcb_aux_create_gc_checked (xcb_connection_t *c, + xcb_gcontext_t gid, + xcb_drawable_t drawable, + 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_create_gc_checked( c, gid, drawable, mask, value_list); +} + +xcb_void_cookie_t xcb_aux_change_gc (xcb_connection_t *c, xcb_gcontext_t gc, uint32_t mask, |