[Xcb] New libxcb and xcb-proto releases (code name: "Oh, shit")

Peter Harris pharris at opentext.com
Mon Nov 18 08:25:31 PST 2013


On 2013-11-18 11:09, Ran Benita wrote:
> On Sat, Nov 16, 2013 at 03:45:09PM +0100, Uli Schlachter wrote:
> 
>> - We are renaming things in xcb_ge_event_t (this time on purpose). How are
>>   people supposed to deal with it so that they work both with old and new
>>   libxcb? There doesn't seem to be a #define which could easily be used for
>>   deciding if pad0 or extension is the right field to use.
> 
> [Can always use the version string, no?]

How about leaving xcb_ge_event_t alone, mark it deprecated in the docs,
and adding an xcb_genericevent_event_t (possibly even via the xml, as
originally proposed) that has the correct name for the extension field?

Yeah, it's clutter, but it's just a struct definition so it's not like
it bloats the output binaries.

Peter Harris
-- 
               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