[vlc-devel] [PATCH 1/5] common/win32_fullscreen: Fullscreen window now is *really* created only when needed

Sergey Radionov rsatom at gmail.com
Sun Jan 1 17:25:22 CET 2012


---
 common/win32_fullscreen.cpp |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/common/win32_fullscreen.cpp b/common/win32_fullscreen.cpp
index be07da0..27925a6 100644
--- a/common/win32_fullscreen.cpp
+++ b/common/win32_fullscreen.cpp
@@ -840,9 +840,7 @@ void VLCWindowsManager::CreateWindows(HWND hWindowedParentWnd)
         _HolderWnd = VLCHolderWnd::CreateHolderWindow(hWindowedParentWnd, this);
     }
 
-    if(!_FSWnd){
-        _FSWnd= VLCFullScreenWnd::CreateFSWindow(this);
-    }
+    //_FSWnd will be created in StartFullScreen() if it will be ever called
 }
 
 void VLCWindowsManager::DestroyWindows()
-- 
1.7.7.1.msysgit.0




More information about the vlc-devel mailing list