diff --git a/src/dd.c b/src/dd.c index c3cc184..eed4a76 100644 --- a/src/dd.c +++ b/src/dd.c @@ -669,7 +669,7 @@ HRESULT dd_SetDisplayMode(DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwFl int x = (g_config.window_rect.left != -32000) ? g_config.window_rect.left : (cy / 2) - (g_ddraw->render.width / 2); int y = (g_config.window_rect.top != -32000) ? g_config.window_rect.top : (cx / 2) - (g_ddraw->render.height / 2); - if (nonexclusive) + if (g_ddraw->fullscreen) { x = y = 0; }