xkb: Add missing 'supported' field to GetNamedIndicator reply
authorRan Benita <ran234@gmail.com>
Mon, 12 Aug 2013 07:55:02 +0000 (10:55 +0300)
committerDaniel Martin <consume.noise@gmail.com>
Wed, 14 Aug 2013 22:23:46 +0000 (00:23 +0200)
commite56a0599d631788d835c977221b40f131c07de36
treefddb2f82b485b0e1b59af1bc76b80709dde1850a
parent2cd2d5f0c738d9f058988b43fcbd73344570b34a
xkb: Add missing 'supported' field to GetNamedIndicator reply

The protocol encoding has it:
http://www.x.org/releases/current/doc/kbproto/xkbproto.html#appD::Requests

    1     CARD8          opcode
    1     15          xkb-opcode
    [...]

    1     1          Reply
    1     CARD8          deviceID
    2     CARD16          sequence number
    [...]
    4     SETofKB_BOOLCTRL          map.ctrls
    1     BOOL          supported
    3               unused

And xkbGetNamedIndicatorReply in XKBproto.h also.

Finally, the server does send it, though it's always TRUE.

Signed-off-by: Ran Benita <ran234@gmail.com>
Reviewed-by: Daniel Martin <consume.noise@gmail.com>
src/xkb.xml