From 3278da0b3070e0f76505fa360ede498c402a462a Mon Sep 17 00:00:00 2001 From: Geoffroy Couprie Date: Tue, 13 Oct 2009 12:13:47 +0200 Subject: [PATCH] Win32: make the fullscreen display really take the full screen --- modules/video_output/msw/common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/video_output/msw/common.c b/modules/video_output/msw/common.c index ff7466f562..f39dc35382 100644 --- a/modules/video_output/msw/common.c +++ b/modules/video_output/msw/common.c @@ -624,6 +624,7 @@ void Win32ToggleFullscreen( vout_thread_t *p_vout ) HMONITOR hmon = MonitorFromWindow(p_vout->p_sys->hparent, MONITOR_DEFAULTTONEAREST); MONITORINFO mi; + mi.cbSize = sizeof(MONITORINFO); if (GetMonitorInfo(hmon, &mi)) SetWindowPos( hwnd, 0, mi.rcMonitor.left, -- 2.39.2