Skip to content

Commit

Permalink
Merge pull request #11488 from keymanapp/fix/developer/11486-handle-i…
Browse files Browse the repository at this point in the history
…nvalidate-context-in-debugger

fix(developer): handle `KM_CORE_IT_INVALIDATE_CONTEXT` in debugger
  • Loading branch information
mcdurdin authored May 22, 2024
2 parents 453cb2e + c52d32c commit 78de7e9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions developer/src/tike/debug/Keyman.System.Debug.DebugEvent.pas
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,13 @@ function TDebugEventList.AddStateItems(

AddDebugItem(debug, debugkeyboard, vk, modifier_state);

if action._type = KM_CORE_IT_INVALIDATE_CONTEXT then
begin
// We always ignore invalidate context which can come when a frame key is
// pressed (#11172, #11486)
Inc(action);
end;

if action._type = KM_CORE_IT_EMIT_KEYSTROKE then
begin
// The EMIT_KEYSTROKE action comes after all rules have completed processing
Expand Down

0 comments on commit 78de7e9

Please sign in to comment.