Skip to content

Commit

Permalink
Imm32InputMethod.HandleComposition no longer ignores IME cancel(`lP…
Browse files Browse the repository at this point in the history
…aram` = 0) (#18034)
  • Loading branch information
MineCake147E authored Jan 23, 2025
1 parent 58dacb0 commit 2d8376c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Windows/Avalonia.Win32/Input/Imm32InputMethod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,11 @@ public void HandleComposition(IntPtr wParam, IntPtr lParam, uint timestamp)
}

var flags = (GCS)ToInt32(lParam);

if (flags == 0)
{
CompositionChanged("");
}

if ((flags & GCS.GCS_RESULTSTR) != 0)
{
Expand Down

0 comments on commit 2d8376c

Please sign in to comment.