Always SetForegroundWindow

This commit is contained in:
rebtd7 2021-03-24 22:09:47 -03:00
parent e8db5d2923
commit 9e486fc986
1 changed files with 1 additions and 0 deletions

View File

@ -301,6 +301,7 @@ void MainContext::FF13_HandleLargeAddressAwarePatch() {
void MainContext::ForceWindowActivate(const HWND hWnd) {
PostMessage(hWnd, WM_ACTIVATE, WA_INACTIVE, NULL);
PostMessage(hWnd, WM_ACTIVATE, WA_CLICKACTIVE, NULL);
SetForegroundWindow(hWnd);
}
void MainContext::FF13_OneTimeFixes() {