diff options
author | Ran Benita <ran234@gmail.com> | 2013-08-12 10:55:02 +0300 |
---|---|---|
committer | Daniel Martin <consume.noise@gmail.com> | 2013-08-15 00:23:46 +0200 |
commit | e56a0599d631788d835c977221b40f131c07de36 (patch) | |
tree | fddb2f82b485b0e1b59af1bc76b80709dde1850a /src | |
parent | 2cd2d5f0c738d9f058988b43fcbd73344570b34a (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/xkb.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xkb.xml b/src/xkb.xml index b4b87af..a5f808e 100644 --- a/src/xkb.xml +++ b/src/xkb.xml @@ -1620,6 +1620,7 @@ authorization from the authors. <field name="map_realMods" type="CARD8" mask="ModMask" /> <field name="map_vmod" type="CARD16" mask="VMod" /> <field name="map_ctrls" type="CARD32" mask="BoolCtrl" /> + <field name="supported" type="BOOL" /> <pad bytes="3" /> </reply> </request> |