diff options
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/w32_common.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/w32_common.c b/libvo/w32_common.c index 9062f6898d..7674ba894b 100644 --- a/libvo/w32_common.c +++ b/libvo/w32_common.c @@ -380,10 +380,13 @@ int vo_w32_config(uint32_t width, uint32_t height, uint32_t flags) { o_dwidth = width; o_dheight = height; + if (WinID < 0) { + // the desired size is ignored in wid mode, it always matches the window size. prev_width = vo_dwidth = width; prev_height = vo_dheight = height; prev_x = vo_dx; prev_y = vo_dy; + } vo_fs = flags & VOFLAG_FULLSCREEN; vo_vm = flags & VOFLAG_MODESWITCHING; |