8200353: Shift or Capslock not working in Textfield after accented keystrokes
authordmarkov
Wed, 13 Jun 2018 12:54:41 +0100
changeset 50655 1427a66f7714
parent 50654 e88bc8f0321c
child 50656 362e45aeb983
8200353: Shift or Capslock not working in Textfield after accented keystrokes Reviewed-by: serb, prr
src/java.desktop/windows/native/libawt/windows/awt_Component.cpp
--- a/src/java.desktop/windows/native/libawt/windows/awt_Component.cpp	Wed Jun 13 10:59:27 2018 +0530
+++ b/src/java.desktop/windows/native/libawt/windows/awt_Component.cpp	Wed Jun 13 12:54:41 2018 +0100
@@ -3853,6 +3853,8 @@
 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;