[Xcb] [PATCH] Add more documentation.

Uli Schlachter psychon at znc.in
Sun Sep 16 16:33:36 UTC 2018


Hi Thomas,

sorry for being awfully slow.

On 26.08.2018 07:14, Thomas Fischer wrote:
[...]> diff --git a/src/xproto.xml b/src/xproto.xml
> index 9624700..f78f339 100644
> --- a/src/xproto.xml
> +++ b/src/xproto.xml
> @@ -1828,6 +1828,10 @@ <xcb/xcb.h>
>      xcb_screen_iterator_t   iter   = xcb_setup_roots_iterator (setup);
>      xcb_screen_t           *screen = iter.data;
>  
> +    uint32_t value_mask = XCB_CW_BACK_PIXEL | XCB_CW_EVENT_MASK;
> +    uint32_t value_list[] = { screen->black_pixel,
> +    XCB_EVENT_MASK_KEY_RELEASE | XCB_EVENT_MASK_EXPOSE
> +    /* | XCB_EVENT_MASK_* ... */ };
[...]

What did you base your patch on? The string "xcb_setup_roots_iterator"
does not appear in the current(?) version of xproto.xml. Thus, your
patch does not apply here.

Cheers,
Uli
-- 
99 little bugs in the code
99 little bugs in the code
Take one down, patch it around
117 little bugs in the code
  -- @irqed


More information about the Xcb mailing list