diff options
author | Daniel Stone <daniels@collabora.com> | 2017-04-06 15:52:10 +0100 |
---|---|---|
committer | Daniel Stone <daniels@collabora.com> | 2017-04-11 13:54:50 +0100 |
commit | 7fdfabd753a39dbdcfcfa65ec33d0192448119d8 (patch) | |
tree | e3b16b6817553f17ba3821786fb2fbf6dcaa1f18 /misc.c | |
parent | 9f1e3e8c8914b349b9b52501bb4acadedb31081d (diff) |
keycodes: Ignore high keycodes
Rather than throwing a fatal error when a keycode definition exceeds the
declared maximum (i.e. 255), just ignore the definition and continue.
This allows xkeyboard-config to start shipping datasets including high
keycodes, which will work in xkbcommon as it ignores explicit range
declarations.
Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Ran Benita <ran234@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reported-by: Christian Kellner <gicmo@gnome.org>
Diffstat (limited to 'misc.c')
0 files changed, 0 insertions, 0 deletions