[KBSWITCH] Don't activate target window on WM_CREATE

CORE-10667
This commit is contained in:
Katayama Hirofumi MZ 2022-10-30 08:29:03 +09:00
parent 4d9026c852
commit 6f03be8570

View file

@ -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;
}