[Xcb] Next Release?

Peter Harris pharris at opentext.com
Fri Aug 16 14:19:24 PDT 2013


On 2013-08-16 16:57, Daniel Martin wrote:
> On Fri, Aug 16, 2013 at 12:20:38PM -0400, Peter Harris wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 2013-08-16 11:04, Uli Schlachter wrote:
>>> On 06.08.2013 19:55, Uli Schlachter wrote: [...]
>>>> Also, I just remembered that there is a bug against xcb-xkb: 
>>>> https://bugs.freedesktop.org/show_bug.cgi?id=51295
>>>
>>> It seems like the general consensus here is that this can be
>>> ignored for now. I don't have any strong opinions about this,
>>> mostly because I have not much clue about xcb-xkb.
>>
>> Yeah, the protocol description of the XKB event (singular) is buggy
>> (there are multiple <event>s).
> 
> We could:
> - comment out the current events (to have the fields at hand when the
>   issue is fixed) and
> - add an generic event (number=0?) having the fields as in xkbAnyEvent,
>   see /usr/include/X11/extensions/XKBproto.h.
> When the issue gets fixed we just add the switch to the AnyEvent.

My short-term plan, if I ever get a free minute, is to convert the
events into structs (deleting the type field) and add one event that
contains the type and a union with all the structs.

As far as I'm concerned, unions are deprecated in favour of switch. But
I don't have the tuits to implement non-bit <case> in <switch>, whereas
unions "work" today.

Peter Harris

[unreferenced footnote] https://en.wiktionary.org/wiki/round_tuit
-- 
               Open Text Connectivity Solutions Group
Peter Harris                    http://connectivity.opentext.com/
Research and Development        Phone: +1 905 762 6001
pharris at opentext.com            Toll Free: 1 877 359 4866


More information about the Xcb mailing list