1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-18 11:52:12 +01:00

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

Not needed as this was an FSHack bug.

This reverts commit d87200c4d993c7645ec7aff7810a8bb6047be235.
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

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