Files
Henrik RydgårdandClaude Opus 5.5 9b03841eec UI: Lock heldKeys and focusMoves against the input thread
NativeKey calls KeyEventToFocusMoves directly on the input thread, while
ProcessHeldKeys iterates heldKeys on the UI thread, which tripped an
iterator assert in debug builds. ProcessHeldKeys also dispatched key
events mid-iteration, where a handler calling EnableFocusMovement(false)
would clear the set under it. Now it collects due repeats under the lock
and dispatches them after.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 13:40:02 +02:00
..
2026-08-28 15:29:14 +02:00
2024-10-23 10:55:46 +02:00
2024-10-23 10:55:46 +02:00