Revert "[d3d9] Don't minimise in WM_ACTIVATEAPP"

Not needed as this was an FSHack bug.

This reverts commit d87200c4d9.
This commit is contained in:
Joshua Ashton 2021-02-19 03:14:56 +00:00
parent cd49d03ee9
commit 59816a71b9
No known key found for this signature in database
GPG Key ID: C85A08669126BE8D
1 changed files with 4 additions and 2 deletions

View File

@ -141,8 +141,10 @@ namespace dxvk {
SetWindowPos(window, nullptr, rect.left, rect.top, params.BackBufferWidth, params.BackBufferHeight,
SWP_NOACTIVATE | SWP_NOZORDER);
}
// Don't minimise if !wparam
// We'd need to re-set the mode here technically, if we did.
else {
if (IsWindowVisible(window))
ShowWindow(window, SW_MINIMIZE);
}
}
}