[Xcb] Error in xkb.xml?

Peter Harris pharris at opentext.com
Wed May 29 09:15:58 PDT 2013


On 2013-05-29 03:00, mark at markwitmer.com wrote:
> I'm working on an xcb client in Guile Scheme, and it handles fields with
> enum and mask properties pretty carefully. This caused me to run into an
> issue in xkb.xml, where, for example, the SelectEvents request is
> defined (in part) as follows:
> 
> <request name="SelectEvents" opcode="1">
>          <field name="deviceSpec" type="DeviceSpec" />
>          <field name="affectWhich" type="CARD16" enum="EventType" />
>          <field name="clear" type="CARD16" enum="EventType" />
>          <field name="selectAll" type="CARD16" enum="EventType" />
>          <field name="affectMap" type="CARD16" enum="MapPart" />
>          <field name="map" type="CARD16" enum="MapPart" />
>          <switch name="details">
> ... etc ...
> 
> Should the enum properties in this case be mask properties?

Yes, they should. Thanks for the bug report.

If you'd like to propose a patch, I'll commit it.

Thanks,
 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