From a6df7ddb959e9ffcda4e9920a527864907e2b2bb Mon Sep 17 00:00:00 2001 From: Katayama Hirofumi MZ Date: Sat, 29 Oct 2022 20:36:45 +0900 Subject: [PATCH] [KBSWITCH] Fix shutdown and logout dialog CORE-18563 20221028-0.4.15-dev-5273-g36f7d1a introduced bug. Quick fix. CORE-18563 --- base/applications/kbswitch/kbswitch.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/base/applications/kbswitch/kbswitch.c b/base/applications/kbswitch/kbswitch.c index 4f6baa7dc54..89159701fc7 100644 --- a/base/applications/kbswitch/kbswitch.c +++ b/base/applications/kbswitch/kbswitch.c @@ -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; }