[vlc-devel] commit: Win32: make the fullscreen display really take the full screen ( Geoffroy Couprie )
git version control
git at videolan.org
Tue Oct 13 12:14:52 CEST 2009
vlc | branch: master | Geoffroy Couprie <geal at videolan.org> | Tue Oct 13 12:13:47 2009 +0200| [3278da0b3070e0f76505fa360ede498c402a462a] | committer: Geoffroy Couprie
Win32: make the fullscreen display really take the full screen
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3278da0b3070e0f76505fa360ede498c402a462a
---
modules/video_output/msw/common.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/video_output/msw/common.c b/modules/video_output/msw/common.c
index ff7466f..f39dc35 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,
More information about the vlc-devel
mailing list