https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a6df7ddb959e9ffcda4e9…
commit a6df7ddb959e9ffcda4e9920a527864907e2b2bb
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Sat Oct 29 20:36:45 2022 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Sat Oct 29 20:36:45 2022 +0900
[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;
}