NFSMWExOpts
NFSMWExOpts copied to clipboard
Windowed mode offset
I have 2 monitors, one is 4k, the other is 1080p. When I turn on windowed borderless, whenever I launch the game the window is offset
I have fixed it by adding this in the loop:
if (WindowedMode == 1)
{
RECT n_wRect;
GetWindowRect(windowHandle, &n_wRect);
if (n_wRect.left > 0 || n_wRect.top > 0)
{
SetWindowPos(windowHandle, NULL, 0, 0, n_wRect.right - n_wRect.left, n_wRect.bottom - n_wRect.top, 0);
}
}
Same issue here
Can confirm.