Commit 56779562 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32 Vout: try to correctly set fullscreen mode under winCE and win32.

parent 2990f1d5
......@@ -1206,8 +1206,11 @@ void Win32ToggleFullscreen( vout_thread_t *p_vout )
rect.right, rect.bottom,
SWP_NOZORDER|SWP_FRAMECHANGED );
#ifdef UNDER_CE
HWND topLevelParent = GetParent( p_vout->p_sys->hparent );
//HWND topLevelParent = GetAncestor( p_vout->p_sys->hparent, GA_ROOT );
#else
HWND topLevelParent = GetAncestor( p_vout->p_sys->hparent, GA_ROOT );
#endif
ShowWindow( topLevelParent, SW_HIDE );
}
......@@ -1231,8 +1234,11 @@ void Win32ToggleFullscreen( vout_thread_t *p_vout )
rect.right, rect.bottom,
SWP_NOZORDER|SWP_FRAMECHANGED );
#ifdef UNDER_CE
HWND topLevelParent = GetParent( p_vout->p_sys->hparent );
//HWND topLevelParent = GetAncestor( p_vout->p_sys->hparent, GA_ROOT );
#else
HWND topLevelParent = GetAncestor( p_vout->p_sys->hparent, GA_ROOT );
#endif
ShowWindow( topLevelParent, SW_SHOW );
SetForegroundWindow( p_vout->p_sys->hparent );
ShowWindow( hwnd, SW_HIDE );
......
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