diff options
author | Zenos <zeno.arrows@gmail.com> | 2023-04-04 04:54:29 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-08-20 20:39:05 +0200 |
commit | da965906ef0919689d86362e8611e099b098a418 (patch) | |
tree | 071002cc1708648f6a204417e793055c6f98f1ca /video/out/w32_common.c | |
parent | 5a94c86029a2d0e5452c07a7c12d2a6981f607df (diff) | |
download | mpv-da965906ef0919689d86362e8611e099b098a418.tar.bz2 mpv-da965906ef0919689d86362e8611e099b098a418.tar.xz |
w32_common: don't fit to screen when VO_WIN_FORCE_POS is set
Diffstat (limited to 'video/out/w32_common.c')
-rw-r--r-- | video/out/w32_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |