Skip to content

Commit a0223f7

Browse files
authored
Merge 9a4e0ec into 6af44d7
2 parents 6af44d7 + 9a4e0ec commit a0223f7

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎CefSharp.Wpf/Experimental/WpfIMEKeyboardHandler.cs‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,12 @@ public void CancelComposition(IntPtr hwnd)
253253

254254
private void OnImeEndComposition(IntPtr hwnd)
255255
{
256-
owner.GetBrowserHost().ImeFinishComposingText(false);
256+
// Korean IMEs somehow ignore function calls to ::ImeFinishComposingText()
257+
// The same letter is commited in ::OnImeComposition()
258+
if (languageCodeId != ImeNative.LANG_KOREAN)
259+
{
260+
owner.GetBrowserHost().ImeFinishComposingText(false);
261+
}
257262
DestroyImeWindow(hwnd);
258263
}
259264

0 commit comments

Comments
 (0)