changeset 49214:838c11e59a38

8187635: On Windows Swing changes keyboard layout on a window activation Reviewed-by: serb, ssadetsky
author dmarkov
date Wed, 28 Feb 2018 22:00:33 +0000
parents cd1d231b2c33
children 0ce74d78f58c
files src/java.desktop/windows/native/libawt/windows/awt_Component.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.desktop/windows/native/libawt/windows/awt_Component.cpp	Wed Feb 28 14:29:37 2018 +0530
+++ b/src/java.desktop/windows/native/libawt/windows/awt_Component.cpp	Wed Feb 28 22:00:33 2018 +0000
@@ -1828,6 +1828,7 @@
                           "new = 0x%08X",
                           GetHWnd(), GetClassName(), (UINT)lParam);
           mr = WmInputLangChange(static_cast<UINT>(wParam), reinterpret_cast<HKL>(lParam));
+          g_bUserHasChangedInputLang = TRUE;
           CallProxyDefWindowProc(message, wParam, lParam, retValue, mr);
           // should return non-zero if we process this message
           retValue = 1;