changeset 51289:1427a66f7714

8200353: Shift or Capslock not working in Textfield after accented keystrokes Reviewed-by: serb, prr
author dmarkov
date Wed, 13 Jun 2018 12:54:41 +0100
parents e88bc8f0321c
children 362e45aeb983
files src/java.desktop/windows/native/libawt/windows/awt_Component.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;