From fa77ad46cb17db4df433cc89293eb118ff38bb4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Fri, 11 Oct 2024 01:27:14 +0200 Subject: [PATCH] win32: always fit to the screen on initial positioning VO_WIN_FORCE_POS is set even if the position is not provided by the user, so we have no choice but to always fit. We should do this regardless, and if any issues occur in multi-monitor configurations, they should be addressed separately. Fixes: #15049 Fixes: e5159de8118120163689c27f5cbc1ec68c2d27c8 --- 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 1e74146bd6..677f0963b8 100644 --- a/video/out/w32_common.c +++ b/video/out/w32_common.c @@ -1950,7 +1950,7 @@ static void window_reconfig(struct vo_w32_state *w32, bool force) w32->prev_windowrc = w32->windowrc; w32->window_bounds_initialized = true; w32->win_force_pos = geo.flags & VO_WIN_FORCE_POS; - w32->fit_on_screen = !w32->win_force_pos; + w32->fit_on_screen = true; goto finish; }