[Xcb] enum MapIndex with numeric names

Sascha Ziemann ceving at gmail.com
Fri Jul 26 15:24:12 UTC 2019


xproto.xml defines the following enum:

  <enum name="MapIndex">
    <item name="Shift">  <value>0</value></item>
    <item name="Lock">   <value>1</value></item>
    <item name="Control"><value>2</value></item>
    <item name="1">      <value>3</value></item>
    <item name="2">      <value>4</value></item>
    <item name="3">      <value>5</value></item>
    <item name="4">      <value>6</value></item>
    <item name="5">      <value>7</value></item>
  </enum>

What sens does it make to have numeric names?


More information about the Xcb mailing list