changeset 34134:1c4302df9dcf

Remove unused code. After the changes in r33657 there is no longer a "MPlayer Fullscreen" window for the directx vo driver, hence this code will never be executed.
author ib
date Thu, 20 Oct 2011 12:53:27 +0000
parents 568f3a8e1b89
children 1d0544de6b6c
files gui/win32/gui.c
diffstat 1 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/gui/win32/gui.c	Thu Oct 20 12:48:35 2011 +0000
+++ b/gui/win32/gui.c	Thu Oct 20 12:53:27 2011 +0000
@@ -287,17 +287,6 @@
     if((time - oldtime) < 100) return;
     oldtime=time;
 
-    /* suppress directx's fullscreen window when using the sub window */
-    if(sub_window && &video_driver_list[0] && strstr("directx", video_driver_list[0]))
-    {
-        HWND hWndFS = NULL; //handle to directx's fullscreen window
-        if(hWndFS == NULL)
-        {
-            hWndFS = FindWindow(NULL, "MPlayer Fullscreen");
-            if(hWndFS != NULL) DestroyWindow(hWndFS); //sub window handles fullscreen
-        }
-    }
-
     for (i=0; i<gui->window_priv_count; i++)
     {
         if(gui->window_priv[i]->hwnd == hwnd)