1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-19 01:47:38 +00:00

w32_common: don't fit to screen when VO_WIN_FORCE_POS is set

This commit is contained in:
Zenos 2023-04-04 04:54:29 +02:00 committed by sfan5
parent 5a94c86029
commit da965906ef

View File

@ -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;
}