[vlc-devel] commit: Removed useless b_focus variable 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:49:40 2009 +0200| [a332bed4e8f51be99226a9a40e428c9109d27396] | committer: Laurent Aimar
Removed useless b_focus variable in msw.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a332bed4e8f51be99226a9a40e428c9109d27396
---
modules/video_output/msw/events.c | 2 --
modules/video_output/msw/vout.h | 1 -
modules/video_output/msw/wingdi.c | 1 -
3 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/modules/video_output/msw/events.c b/modules/video_output/msw/events.c
index 642ae91..02a7973 100644
--- a/modules/video_output/msw/events.c
+++ b/modules/video_output/msw/events.c
@@ -778,7 +778,6 @@ static long FAR PASCAL DirectXEventProc( HWND hwnd, UINT message,
case WM_KILLFOCUS:
#ifdef MODULE_NAME_IS_wingapi
- p_vout->p_sys->b_focus = false;
if( !p_vout->p_sys->b_parent_focus ) GXSuspend();
#endif
#ifdef UNDER_CE
@@ -798,7 +797,6 @@ static long FAR PASCAL DirectXEventProc( HWND hwnd, UINT message,
case WM_SETFOCUS:
#ifdef MODULE_NAME_IS_wingapi
- p_vout->p_sys->b_focus = true;
GXResume();
#endif
#ifdef UNDER_CE
diff --git a/modules/video_output/msw/vout.h b/modules/video_output/msw/vout.h
index 29a7c3b..70c21f9 100644
--- a/modules/video_output/msw/vout.h
+++ b/modules/video_output/msw/vout.h
@@ -219,7 +219,6 @@ struct vout_sys_t
RGBQUAD green;
RGBQUAD blue;
- bool b_focus;
bool b_parent_focus;
HINSTANCE gapi_dll; /* handle of the opened gapi dll */
diff --git a/modules/video_output/msw/wingdi.c b/modules/video_output/msw/wingdi.c
index fa64479..b40fda3 100644
--- a/modules/video_output/msw/wingdi.c
+++ b/modules/video_output/msw/wingdi.c
@@ -149,7 +149,6 @@ static int OpenVideo ( vlc_object_t *p_this )
#ifdef MODULE_NAME_IS_wingapi
p_vout->pf_display = FirstDisplayGAPI;
- p_vout->p_sys->b_focus = 0;
p_vout->p_sys->b_parent_focus = 0;
#else
p_vout->pf_display = FirstDisplayGDI;
More information about the vlc-devel
mailing list