diff --git a/src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs b/src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs index 0ffbed0ee7..2a40eb9f5b 100644 --- a/src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs +++ b/src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs @@ -739,14 +739,7 @@ namespace Avalonia.Win32 } case GCS.GCS_RESULTREADCLAUSE | GCS.GCS_RESULTSTR | GCS.GCS_RESULTCLAUSE: { - if (string.IsNullOrEmpty(Imm32InputMethod.Current.Composition)) - { - var c = (char)ToInt32(wParam); - - Imm32InputMethod.Current.Composition = new string(c, 1); - - _ignoreWmChar = true; - } + // Chinese IME sends WM_CHAR after composition has finished. break; } case GCS.GCS_RESULTREADSTR | GCS.GCS_RESULTREADCLAUSE | GCS.GCS_RESULTSTR | GCS.GCS_RESULTCLAUSE: