[vlc-devel] commit: Disable video-on-top on win32 when going fullscreen ( Rafaël Carré )

git version control git at videolan.org
Sat May 10 14:02:32 CEST 2008


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sat May 10 14:03:40 2008 +0200| [8e36c7bdbf2cb369233f7dd064cd84d5c73577fe]

Disable video-on-top on win32 when going fullscreen

Fix #1227

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8e36c7bdbf2cb369233f7dd064cd84d5c73577fe
---

 modules/video_output/msw/events.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/modules/video_output/msw/events.c b/modules/video_output/msw/events.c
index 8cf358b..5f04f0c 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 );




More information about the vlc-devel mailing list