[vlc-devel] commit: Removed useless b_parent_focus in msw. (Laurent Aimar )
git version control
git at videolan.org
Mon Sep 28 20:56:56 CEST 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Sep 28 20:50:05 2009 +0200| [c76818f12f7b627cbdc917c5e8a9f8ad18b97f1c] | committer: Laurent Aimar
Removed useless b_parent_focus in msw.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c76818f12f7b627cbdc917c5e8a9f8ad18b97f1c
---
modules/video_output/msw/events.c | 2 +-
modules/video_output/msw/vout.h | 2 --
modules/video_output/msw/wingdi.c | 2 --
3 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/modules/video_output/msw/events.c b/modules/video_output/msw/events.c
index 02a7973..c7c1584 100644
--- a/modules/video_output/msw/events.c
+++ b/modules/video_output/msw/events.c
@@ -778,7 +778,7 @@ static long FAR PASCAL DirectXEventProc( HWND hwnd, UINT message,
case WM_KILLFOCUS:
#ifdef MODULE_NAME_IS_wingapi
- if( !p_vout->p_sys->b_parent_focus ) GXSuspend();
+ GXSuspend();
#endif
#ifdef UNDER_CE
if( hwnd == p_vout->p_sys->hfswnd )
diff --git a/modules/video_output/msw/vout.h b/modules/video_output/msw/vout.h
index 70c21f9..0699b8a 100644
--- a/modules/video_output/msw/vout.h
+++ b/modules/video_output/msw/vout.h
@@ -219,8 +219,6 @@ struct vout_sys_t
RGBQUAD green;
RGBQUAD blue;
- bool b_parent_focus;
-
HINSTANCE gapi_dll; /* handle of the opened gapi dll */
/* GAPI functions */
diff --git a/modules/video_output/msw/wingdi.c b/modules/video_output/msw/wingdi.c
index b40fda3..0078c4f 100644
--- a/modules/video_output/msw/wingdi.c
+++ b/modules/video_output/msw/wingdi.c
@@ -148,8 +148,6 @@ static int OpenVideo ( vlc_object_t *p_this )
p_vout->pf_control = Control;
#ifdef MODULE_NAME_IS_wingapi
p_vout->pf_display = FirstDisplayGAPI;
-
- p_vout->p_sys->b_parent_focus = 0;
#else
p_vout->pf_display = FirstDisplayGDI;
#endif
More information about the vlc-devel
mailing list