Trygve Aaberge 2e3f9dffa7 Ignore keys for switching keyboard layout
XKB has various options for using keys to switch the keyboard layout.
When these are set, XKB will return keysyms which are unknown to GLFW,
so kitty will fallback to using a keymap without the options set, which
causes the keys to be interpreted as the original keysyms.

However, when these options are set, kitty shouldn't interpret the keys.
Therefore, check for some specific keysyms and return before translating
to GLFW keysyms.

There may be more keysyms which should be ignored, but as far as I can
see from https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/blob/xkeyboard-config-2.29/symbols/group
these are the ones which can be triggered by XKB options.

Fixes #2519
2020-04-10 17:21:53 +02:00
..
2019-12-18 18:12:48 +01:00
2020-03-24 17:07:37 +05:30
2019-08-30 15:32:20 +02:00
2019-09-24 19:15:35 +02:00
2019-12-19 16:27:25 +05:30
2019-08-30 15:32:20 +02:00
2019-02-02 22:08:32 +01:00
2019-12-08 22:37:47 +05:30
2019-12-19 16:27:25 +05:30
2019-12-09 08:33:32 +01:00
2019-08-30 15:32:20 +02:00
2019-12-19 16:27:25 +05:30
2019-12-09 08:33:32 +01:00