# HG changeset patch # User ib # Date 1319115207 0 # Node ID 1c4302df9dcf5ba4498dd647cd59d27ba3efa70e # Parent 568f3a8e1b891c4cc2a842c9f278b2c1d99c25a2 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. diff -r 568f3a8e1b89 -r 1c4302df9dcf gui/win32/gui.c --- 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; iwindow_priv_count; i++) { if(gui->window_priv[i]->hwnd == hwnd)