mirror of
https://gitlab.freedesktop.org/xorg/proto/xcbproto.git
synced 2026-05-07 13:08:08 +02:00
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>
This commit is contained in:
parent
37d0f55392
commit
f4321385e0
1 changed files with 0 additions and 4 deletions
|
|
@ -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" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue