mirror of
https://gitlab.freedesktop.org/xorg/proto/xcbproto.git
synced 2026-05-07 11:58:09 +02:00
xkb: Change DfltBtnAbsolute to the value used by the server
The spec says:
#x02 XkbSA_DfltBtnAbsolute
But /usr/include/X11/extensions/XKB.h has:
#define XkbSA_DfltBtnAbsolute (1L << 2)
which is what the server sends.
Note: the XKB spec was changed by Daniel Martin to match the Xlib value.
See kbproto commit db07706cb268d5fe1bc38ef5c0a9f49309068b2c.
Reviewed-by: Daniel Martin <consume.noise@gmail.com>
Signed-off-by: Ran Benita <ran234@gmail.com>
This commit is contained in:
parent
f4321385e0
commit
e8980ab471
1 changed files with 2 additions and 1 deletions
|
|
@ -874,7 +874,8 @@ authorization from the authors.
|
|||
</struct>
|
||||
|
||||
<enum name="SASetPtrDfltFlag">
|
||||
<item name="DfltBtnAbsolute"> <bit>1</bit> </item>
|
||||
<!-- The spec says 0x02 but Xlib uses 0x04. -->
|
||||
<item name="DfltBtnAbsolute"> <bit>2</bit> </item>
|
||||
<item name="AffectDfltButton"> <bit>0</bit> </item>
|
||||
</enum>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue