diff --git a/src/d3d9/d3d9_swapchain.cpp b/src/d3d9/d3d9_swapchain.cpp index cda6fc781b9..168dbf0b6a4 100644 --- a/src/d3d9/d3d9_swapchain.cpp +++ b/src/d3d9/d3d9_swapchain.cpp @@ -617,6 +617,7 @@ namespace dxvk { RECT oldRect = { 0, 0, 0, 0 }; ::GetWindowRect(m_window, &oldRect); + ::MapWindowPoints(HWND_DESKTOP, ::GetParent(m_window), reinterpret_cast(&oldRect), 1); ::SetRect(&newRect, 0, 0, pPresentParams->BackBufferWidth, pPresentParams->BackBufferHeight); ::AdjustWindowRectEx(&newRect, ::GetWindowLongW(m_window, GWL_STYLE), FALSE,