Commit 8e36c7bd authored by Rafaël Carré's avatar Rafaël Carré

Disable video-on-top on win32 when going fullscreen

Fix #1227
parent 65f6489e
......@@ -1205,6 +1205,10 @@ void Win32ToggleFullscreen( vout_thread_t *p_vout )
HWND topLevelParent = GetAncestor( p_vout->p_sys->hparent, GA_ROOT );
ShowWindow( topLevelParent, SW_HIDE );
/* Disable "video-on-top" status for main interface if needed */
if( var_GetBool( p_vout, "video-on-top" ) )
ControlParentWindow( p_vout, VOUT_SET_STAY_ON_TOP, false );
}
SetForegroundWindow( hwnd );
......
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