From e85a87deff8757642e8518e82b3dbd22a31b5c39 Mon Sep 17 00:00:00 2001 From: dmarkov Date: Fri, 22 Jun 2018 19:10:19 +0100 Subject: [PATCH] 8200353: Shift or Capslock not working in Textfield after accented keystrokes Reviewed-by: serb, prr --- src/windows/native/sun/windows/awt_Component.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/windows/native/sun/windows/awt_Component.cpp b/src/windows/native/sun/windows/awt_Component.cpp index 2b4430ecb..286095c6a 100644 --- a/src/windows/native/sun/windows/awt_Component.cpp +++ b/src/windows/native/sun/windows/awt_Component.cpp @@ -3812,6 +3812,8 @@ MsgRouting AwtComponent::WmChar(UINT character, UINT repCnt, UINT flags, MsgRouting AwtComponent::WmForwardChar(WCHAR character, LPARAM lParam, BOOL synthetic) { + deadKeyActive = FALSE; + // just post WM_CHAR with unicode key value DefWindowProc(WM_CHAR, (WPARAM)character, lParam); return mrConsume; -- GitLab