macOS: Fix crash when pressing Caps Lock (#4024)
Events emitted by `flagsChanged:` cannot access `charactersIgnoringModifiers`. We were previously doing this because we were trying to re-use the `create_key_event` function, but that is unsuited for this purpose, so I have separated the `flagsChanged:` logic out from it.
This commit is contained in:
parent
3657506f6e
commit
f314cd2b9a
3 changed files with 38 additions and 33 deletions
|
|
@ -212,3 +212,4 @@ changelog entry.
|
|||
- On macOS, fixed the scancode conversion for audio volume keys.
|
||||
- On macOS, fixed the scancode conversion for `IntlBackslash`.
|
||||
- On macOS, fixed redundant `SurfaceResized` event at window creation.
|
||||
- On macOS, fix crash when pressing Caps Lock in certain configurations.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue