[PATCH xkbcomp] Ignore xkb_keycodes.maximum of > 255

Daniel Stone daniel at fooishbar.org
Thu Jun 7 07:12:47 UTC 2018


On 7 June 2018 at 05:13, Peter Hutterer <peter.hutterer at who-t.net> wrote:
> Continuation from 7fdfabd75 "keycodes: Ignore high keycodes"
>
> A keymap with a key > 255 will have a xkb_keycodes.maximum of that keycode.
> Let's not throw a fatal error on that, just crop it back to the maximum of
> 255. This doesn't set the "high_keycode_warned" on purpose so we get this for
> the first key that actually matters.

Reviewed-by: Daniel Stone <daniels at collabora.com>


More information about the xorg-devel mailing list