https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6f03be85700bc80803c80…
commit 6f03be85700bc80803c80cb02273fdbfdd10d337
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Sun Oct 30 08:29:03 2022 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Sun Oct 30 08:30:10 2022 +0900
[KBSWITCH] Don't activate target window on WM_CREATE
CORE-10667
---
base/applications/kbswitch/kbswitch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/applications/kbswitch/kbswitch.c
b/base/applications/kbswitch/kbswitch.c
index 67e250d4259..29f59db2f4c 100644
--- a/base/applications/kbswitch/kbswitch.c
+++ b/base/applications/kbswitch/kbswitch.c
@@ -708,7 +708,7 @@ WndProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)
AddTrayIcon(hwnd);
- ActivateLayout(hwnd, ulCurrentLayoutNum, NULL, FALSE);
+ ActivateLayout(hwnd, ulCurrentLayoutNum, NULL, TRUE);
s_uTaskbarRestart = RegisterWindowMessage(TEXT("TaskbarCreated"));
break;
}