[KBSWITCH] Fix shutdown and logout dialog CORE-18563

20221028-0.4.15-dev-5273-g36f7d1a introduced bug.
Quick fix.
CORE-18563
This commit is contained in:
Katayama Hirofumi MZ 2022-10-29 20:36:45 +09:00
parent 433240feec
commit a6df7ddb95

View File

@ -603,9 +603,6 @@ UpdateLanguageDisplayCurrent(HWND hwnd, HWND hwndFore)
HKL hKL = GetKeyboardLayout(dwThreadID);
UpdateLanguageDisplay(hwnd, hKL);
if (IsWindow(g_hwndLastActive))
SetForegroundWindow(g_hwndLastActive);
return 0;
}