Browse Source
Merge pull request #10834 from Gillibald/imeFixes
[Windows ]Only bypass WM_CHAR if previous composition is not empty
pull/10833/head
Steven Kirk
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs
|
|
|
@ -729,7 +729,7 @@ namespace Avalonia.Win32 |
|
|
|
{ |
|
|
|
case GCS.GCS_RESULTSTR: |
|
|
|
{ |
|
|
|
if(ToInt32(wParam) >= 32) |
|
|
|
if(!string.IsNullOrEmpty(previousComposition) && ToInt32(wParam) >= 32) |
|
|
|
{ |
|
|
|
Imm32InputMethod.Current.Composition = previousComposition; |
|
|
|
|
|
|
|
|