mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-01 06:10:07 -04:00
On X11, avoid false positive key repeats
Instead of a single `bool` indicating that a key press has occured and no key has been released since then, we store the scancode of the last pressed key (if it is a key that repeats when held). This fixes a bug where pressing a new key while one is already held down will be flagged as a repeat even though it is obviously not a repeat.
This commit is contained in:
@@ -8,6 +8,8 @@ And please only add new entries to the top of this list, right below the `# Unre
|
||||
|
||||
# Unreleased
|
||||
|
||||
- On X11, fix false positive flagging of key repeats when pressing different keys with no release
|
||||
between presses.
|
||||
- Implement `PartialOrd` and `Ord` for `KeyCode` and `NativeKeyCode`.
|
||||
|
||||
# 0.29.0-beta.0
|
||||
|
||||
Reference in New Issue
Block a user