[Xcb] [PATCH proto 1/3] xkb: Add missing 'supported' field to GetNamedIndicator reply

Ran Benita ran234 at gmail.com
Mon Aug 12 05:46:16 PDT 2013


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 at gmail.com>
---
 src/xkb.xml | 1 +
 1 file changed, 1 insertion(+)

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>
-- 
1.8.3.4



More information about the Xcb mailing list