[vlc-devel] commit: Win32 Vout: try to correctly set fullscreen mode under winCE and win32. ( Jean-Baptiste Kempf )
git version control
git at videolan.org
Wed Oct 1 05:59:23 CEST 2008
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Sep 30 20:57:28 2008 -0700| [56779562fac085ddec20a8e5c043e497a4a1345d] | committer: Jean-Baptiste Kempf
Win32 Vout: try to correctly set fullscreen mode under winCE and win32.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=56779562fac085ddec20a8e5c043e497a4a1345d
---
modules/video_output/msw/events.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/modules/video_output/msw/events.c b/modules/video_output/msw/events.c
index c787914..8c47fa4 100644
--- a/modules/video_output/msw/events.c
+++ b/modules/video_output/msw/events.c
@@ -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 );
More information about the vlc-devel
mailing list