Commit 3278da0b authored by Geoffroy Couprie's avatar Geoffroy Couprie

Win32: make the fullscreen display really take the full screen

parent fb95a748
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment