From 8e36c7bdbf2cb369233f7dd064cd84d5c73577fe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Sat, 10 May 2008 14:03:40 +0200 Subject: [PATCH] Disable video-on-top on win32 when going fullscreen Fix #1227 --- modules/video_output/msw/events.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/video_output/msw/events.c b/modules/video_output/msw/events.c index 8cf358ba88..5f04f0cb23 100644 --- a/modules/video_output/msw/events.c +++ b/modules/video_output/msw/events.c @@ -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 ); -- 2.39.2