diff options
author | Daniel Martin <consume.noise@gmail.com> | 2014-07-15 18:53:17 +0200 |
---|---|---|
committer | Daniel Martin <consume.noise@gmail.com> | 2014-07-27 18:24:51 +0200 |
commit | 8d7ee5b6ba4cf343f7df70372a3e1f85b82aeed7 (patch) | |
tree | 0be3f488e1f3bbba28637bf2e496154861385f28 | |
parent | f8f4fcd3ba5bc0f259dd12ecdbad4e19ad30e66f (diff) |
xkb: Add missing modLatches as comment to LatchLockState
The field modLatches was missing in the request LatchLockState:
http://cgit.freedesktop.org/xorg/proto/kbproto/tree/XKBproto.h#n141
v2: Use a pad instead of a field, as the field would cause an API break.
Though, keep the field commented out to document it.
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Ran Benita <ran234@gmail.com>
-rw-r--r-- | src/xkb.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xkb.xml b/src/xkb.xml index 04ab429..ad52ea2 100644 --- a/src/xkb.xml +++ b/src/xkb.xml @@ -1204,6 +1204,10 @@ authorization from the authors. <field name="lockGroup" type="BOOL" /> <field name="groupLock" type="CARD8" enum="Group" /> <field name="affectModLatches" type="CARD8" mask="ModMask" /> + <pad bytes="1" /> <!-- This pad is a workaround to prevent an API break, + which the following field (correct fix) would cause. + <field name="modLatches" type="CARD8" mask="ModMask" /> + --> <pad bytes="1" /> <field name="latchGroup" type="BOOL" /> <field name="groupLatch" type="CARD16" /> |