protocol: Document how clients are supposed to get the xkb keycode

This encodes what everyone is doing and avoids other implementers
having to guess.
This commit is contained in:
Rui Matos 2014-03-25 16:35:39 +01:00 committed by Kristian Høgsberg
parent 256324773f
commit 2142c03a8b

View file

@ -1503,7 +1503,8 @@
</description> </description>
<entry name="no_keymap" value="0" <entry name="no_keymap" value="0"
summary="no keymap; client must understand how to interpret the raw keycode"/> summary="no keymap; client must understand how to interpret the raw keycode"/>
<entry name="xkb_v1" value="1" summary="libxkbcommon compatible"/> <entry name="xkb_v1" value="1"
summary="libxkbcommon compatible; to determine the xkb keycode, clients must add 8 to the key event keycode"/>
</enum> </enum>
<event name="keymap"> <event name="keymap">