Closed
Description
Describe the bug
Kitty does no longer accept some custom XKB hexadecimal key codes.
This was working in version 0.25.2
Its not workin in version 0.26.0
Neither is working on latest git code version as of 2022-08-31.
To Reproduce
Steps to reproduce the behavior:
- Build the latest kitty
- Add this to
kitty.conf
:
# XF86Copy (0x1008ff57)
map 0x1008ff57 copy_to_clipboard
# XF86Copy (0x1008ff58)
map 0x1008ff58 copy_to_clipboard
# XF86Paste (0x1008ff6dx)
map 0x1008ff6d paste_from_clipboard
- Select some text and press the XF86Copy and XF86Paste keys, or simulate them in linux with:
xdotool key XF86Copy
xdotool key XF86Paste
This steps should copy and paste the selected text, but since version 0.26.0
it does not work.
Environment details
When looking at the kitty debug text, in version 0.25.2
(which worked as expected):
Added shortcuts:
0x01000000 → copy_to_clipboard
0x01000000 → copy_to_clipboard
0x01000000 → paste_from_clipboard
However, in version 0.26.0
those lines don't appear, kitty ignores the configured keybindings with such custom hex codes.