]> git.sesse.net Git - vlc/commitdiff
Removed useless b_focus variable in msw.
authorLaurent Aimar <fenrir@videolan.org>
Mon, 28 Sep 2009 18:49:40 +0000 (20:49 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 28 Sep 2009 18:49:40 +0000 (20:49 +0200)
modules/video_output/msw/events.c
modules/video_output/msw/vout.h
modules/video_output/msw/wingdi.c

index 642ae914ae1cf32f7b699c35786ea1b9948d5bee..02a7973dfce96cd29d5f48524e0f395153587e83 100644 (file)
@@ -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
index 29a7c3b1ffdae3a74ca78330716c201c16d1dd11..70c21f9c36f8e40623d03ac52ba84b90fdbfdac3 100644 (file)
@@ -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 */
index fa64479e389561a2a92753b67bcd20d6aab3a9a0..b40fda3e52345f5e0c1650613ef628fd7e37b277 100644 (file)
@@ -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;