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
= kitty - the fast, featureful, GPU based, terminal emulator See https://sw.kovidgoyal.net/kitty/ image:https://github.com/kovidgoyal/kitty/workflows/CI/badge.svg["Build status", link="https://github.com/kovidgoyal/kitty/actions?query=workflow%3ACI"]
Languages
Python
43.6%
C
28.3%
Go
20%
Objective-C
6%
Shell
1.5%
Other
0.5%