From da965906ef0919689d86362e8611e099b098a418 Mon Sep 17 00:00:00 2001 From: Zenos Date: Tue, 4 Apr 2023 04:54:29 +0200 Subject: [PATCH] w32_common: don't fit to screen when VO_WIN_FORCE_POS is set --- video/out/w32_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/out/w32_common.c b/video/out/w32_common.c index 4f16d5b88e..f7c34cd096 100644 --- a/video/out/w32_common.c +++ b/video/out/w32_common.c @@ -1490,7 +1490,7 @@ static void gui_thread_reconfig(void *ptr) geo.win.x0 + vo->dwidth, geo.win.y0 + vo->dheight); w32->prev_windowrc = w32->windowrc; w32->window_bounds_initialized = true; - w32->fit_on_screen = true; + w32->fit_on_screen = !(geo.flags & VO_WIN_FORCE_POS); goto finish; }