changeset 13129:3211318fd973

8187635: On Windows Swing changes keyboard layout on a window activation Reviewed-by: serb, ssadetsky
author dmarkov
date Thu, 01 Mar 2018 15:57:35 +0000
parents f940e7a48b72
children 128a42fdaa03
files src/windows/native/sun/windows/awt_Component.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/windows/native/sun/windows/awt_Component.cpp	Fri Feb 23 05:33:43 2018 +0000
+++ b/src/windows/native/sun/windows/awt_Component.cpp	Thu Mar 01 15:57:35 2018 +0000
@@ -1815,6 +1815,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;