summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2013-08-04 13:33:30 +0300
committerDaniel Martin <consume.noise@gmail.com>2013-08-15 00:23:46 +0200
commitf4321385e01a5a7e9bf5dfa697b54b103dc05a81 (patch)
treed799fbcbbededf1be21d1e65f7eaf92baba4df64
parent37d0f55392d68d0a05dcf5d793d729e49108f1b7 (diff)
xkb: Fix key type map entry field order
In fact, unlike the deleted comment says, both Xlib and the server use the order as specified in the protocol spec: http://www.x.org/releases/current/doc/kbproto/xkbproto.html#appD::Requests (Search for KB_KTMAPENTRY). Also see struct xkbKTMapEntryWireDesc in /usr/include/X11/extensions/XKBproto.h Reviewed-by: Peter Harris <pharris@opentext.com> Reviewed-by: Daniel Martin <consume.noise@gmail.com> Signed-off-by: Ran Benita <ran234@gmail.com>
-rw-r--r--src/xkb.xml4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/xkb.xml b/src/xkb.xml
index 15b3368..6de634e 100644
--- a/src/xkb.xml
+++ b/src/xkb.xml
@@ -410,12 +410,8 @@ authorization from the authors.
<struct name="KTMapEntry">
<field name="active" type="BOOL" />
- <!-- Xlib uses a different arrangement of fields
<field name="mods_mask" type="CARD8" mask="ModMask" />
<field name="level" type="CARD8" />
- -->
- <field name="level" type="CARD8" />
- <field name="mods_mask" type="CARD8" mask="ModMask" />
<field name="mods_mods" type="CARD8" mask="ModMask" />
<field name="mods_vmods" type="CARD16" mask="VMod" />
<pad bytes="2" />