Skip to content

Commit

Permalink
Merge pull request #11489 from keymanapp/fix/developer/cherry-pick/11…
Browse files Browse the repository at this point in the history
…486-handle-invalidate-context-in-debugger

fix(developer): handle `KM_CORE_IT_INVALIDATE_CONTEXT` in debugger 🍒 🏠
  • Loading branch information
mcdurdin authored May 23, 2024
2 parents d09d616 + 1969319 commit d3f41a5
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 d3f41a5

Please sign in to comment.