Skip to content

Commit 321744e

Browse files
authored
Merge 38ad09f into 6af44d7
2 parents 6af44d7 + 38ad09f commit 321744e

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)