Commit c76818f1 authored by Laurent Aimar's avatar Laurent Aimar

Removed useless b_parent_focus in msw.

parent a332bed4
...@@ -778,7 +778,7 @@ static long FAR PASCAL DirectXEventProc( HWND hwnd, UINT message, ...@@ -778,7 +778,7 @@ static long FAR PASCAL DirectXEventProc( HWND hwnd, UINT message,
case WM_KILLFOCUS: case WM_KILLFOCUS:
#ifdef MODULE_NAME_IS_wingapi #ifdef MODULE_NAME_IS_wingapi
if( !p_vout->p_sys->b_parent_focus ) GXSuspend(); GXSuspend();
#endif #endif
#ifdef UNDER_CE #ifdef UNDER_CE
if( hwnd == p_vout->p_sys->hfswnd ) if( hwnd == p_vout->p_sys->hfswnd )
......
...@@ -219,8 +219,6 @@ struct vout_sys_t ...@@ -219,8 +219,6 @@ struct vout_sys_t
RGBQUAD green; RGBQUAD green;
RGBQUAD blue; RGBQUAD blue;
bool b_parent_focus;
HINSTANCE gapi_dll; /* handle of the opened gapi dll */ HINSTANCE gapi_dll; /* handle of the opened gapi dll */
/* GAPI functions */ /* GAPI functions */
......
...@@ -148,8 +148,6 @@ static int OpenVideo ( vlc_object_t *p_this ) ...@@ -148,8 +148,6 @@ static int OpenVideo ( vlc_object_t *p_this )
p_vout->pf_control = Control; p_vout->pf_control = Control;
#ifdef MODULE_NAME_IS_wingapi #ifdef MODULE_NAME_IS_wingapi
p_vout->pf_display = FirstDisplayGAPI; p_vout->pf_display = FirstDisplayGAPI;
p_vout->p_sys->b_parent_focus = 0;
#else #else
p_vout->pf_display = FirstDisplayGDI; p_vout->pf_display = FirstDisplayGDI;
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment