Commit a332bed4 authored by Laurent Aimar's avatar Laurent Aimar

Removed useless b_focus variable in msw.

parent cf2ccb0d
...@@ -778,7 +778,6 @@ static long FAR PASCAL DirectXEventProc( HWND hwnd, UINT message, ...@@ -778,7 +778,6 @@ 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
p_vout->p_sys->b_focus = false;
if( !p_vout->p_sys->b_parent_focus ) GXSuspend(); if( !p_vout->p_sys->b_parent_focus ) GXSuspend();
#endif #endif
#ifdef UNDER_CE #ifdef UNDER_CE
...@@ -798,7 +797,6 @@ static long FAR PASCAL DirectXEventProc( HWND hwnd, UINT message, ...@@ -798,7 +797,6 @@ static long FAR PASCAL DirectXEventProc( HWND hwnd, UINT message,
case WM_SETFOCUS: case WM_SETFOCUS:
#ifdef MODULE_NAME_IS_wingapi #ifdef MODULE_NAME_IS_wingapi
p_vout->p_sys->b_focus = true;
GXResume(); GXResume();
#endif #endif
#ifdef UNDER_CE #ifdef UNDER_CE
......
...@@ -219,7 +219,6 @@ struct vout_sys_t ...@@ -219,7 +219,6 @@ struct vout_sys_t
RGBQUAD green; RGBQUAD green;
RGBQUAD blue; RGBQUAD blue;
bool b_focus;
bool b_parent_focus; bool b_parent_focus;
HINSTANCE gapi_dll; /* handle of the opened gapi dll */ HINSTANCE gapi_dll; /* handle of the opened gapi dll */
......
...@@ -149,7 +149,6 @@ static int OpenVideo ( vlc_object_t *p_this ) ...@@ -149,7 +149,6 @@ static int OpenVideo ( vlc_object_t *p_this )
#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_focus = 0;
p_vout->p_sys->b_parent_focus = 0; p_vout->p_sys->b_parent_focus = 0;
#else #else
p_vout->pf_display = FirstDisplayGDI; p_vout->pf_display = FirstDisplayGDI;
......
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