mirror of
https://github.com/mpv-player/mpv
synced 2025-03-19 18:05:21 +00:00
w32_common: don't fit to screen when VO_WIN_FORCE_POS is set
This commit is contained in:
parent
5a94c86029
commit
da965906ef
@ -1490,7 +1490,7 @@ static void gui_thread_reconfig(void *ptr)
|
|||||||
geo.win.x0 + vo->dwidth, geo.win.y0 + vo->dheight);
|
geo.win.x0 + vo->dwidth, geo.win.y0 + vo->dheight);
|
||||||
w32->prev_windowrc = w32->windowrc;
|
w32->prev_windowrc = w32->windowrc;
|
||||||
w32->window_bounds_initialized = true;
|
w32->window_bounds_initialized = true;
|
||||||
w32->fit_on_screen = true;
|
w32->fit_on_screen = !(geo.flags & VO_WIN_FORCE_POS);
|
||||||
goto finish;
|
goto finish;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user