x11: fix modifiers replay

The serial was not unique, thus leading to issues and replay being
triggered for normal input. Track modifiers based on they keycodes
instead, since it's more unique.

Links: https://github.com/alacritty/alacritty/issues/8461
This commit is contained in:
Kirill Chibisov
2025-02-05 09:04:09 +03:00
parent b77ea7d218
commit 487137b867
2 changed files with 9 additions and 7 deletions

View File

@@ -46,4 +46,5 @@ changelog entry.
### Fixed
- On X11, fixed crash with uim
- On X11, fix crash with uim.
- On X11, fix modifiers for keys that were sent by the same X11 request.