diff options
Diffstat (limited to 'video/out/w32_common.c')
-rw-r--r-- | video/out/w32_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/w32_common.c b/video/out/w32_common.c index 3fcfc6d969..addc46bf0e 100644 --- a/video/out/w32_common.c +++ b/video/out/w32_common.c @@ -551,8 +551,8 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, break; } case WM_SIZING: - if (w32->opts->keepaspect && !w32->opts->fullscreen && - w32->opts->WinID < 0) + if (w32->opts->keepaspect && w32->opts->keepaspect_window && + !w32->opts->fullscreen && w32->opts->WinID < 0) { RECT *rc = (RECT*)lParam; // get client area of the windows if it had the rect rc |