diff --git a/d3d9ex/AutoFix.cpp b/d3d9ex/AutoFix.cpp index 8ba0bee..e95fe3d 100644 --- a/d3d9ex/AutoFix.cpp +++ b/d3d9ex/AutoFix.cpp @@ -205,6 +205,11 @@ void MainContext::ForceWindowActivate(const HWND hWnd) { PostMessage(hWnd, WM_ACTIVATE, WA_CLICKACTIVE, NULL); } +void MainContext::ForceWindowActivate(const HWND hWnd) { + PostMessage(hWnd, WM_ACTIVATE, WA_INACTIVE, NULL); + PostMessage(hWnd, WM_ACTIVATE, WA_CLICKACTIVE, NULL); +} + void MainContext::FF13_OneTimeFixes() { if (IsDXVK()) { @@ -319,9 +324,12 @@ void MainContext::FF13_SetFrameRateVariables() void MainContext::FF13_2_OneTimeFixes() { ForceWindowActivate(hWndFF13); +<<<<<<< HEAD if (IsDXVK()) { PatchMessageBox(ff13_2_message_box_call_address); } +======= +>>>>>>> 86eae4b... Fix mouse input at start when using borderless mode if (*ff13_2_frame_pacer_ptr_address) { **ff13_2_frame_pacer_ptr_address = MAX_FRAME_RATE_LIMIT;