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