npapi-vlc | branch: master | Sergey Radionov <[email protected]> | Mon Jan  2 
22:10:44 2012 +0700| [cc5077e6519683fbbbe2d8e10a13088b0be8f3ec] | committer: 
Sergey Radionov

npapi win32: set window color to black when no video playing.

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=cc5077e6519683fbbbe2d8e10a13088b0be8f3ec
---

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

diff --git a/common/win32_fullscreen.cpp b/common/win32_fullscreen.cpp
index 822dbcd..3291666 100644
--- a/common/win32_fullscreen.cpp
+++ b/common/win32_fullscreen.cpp
@@ -59,7 +59,7 @@ void VLCHolderWnd::RegisterWndClassName(HINSTANCE hInstance)
         wClass.hInstance      = _hinstance;
         wClass.hIcon          = NULL;
         wClass.hCursor        = LoadCursor(NULL, IDC_ARROW);
-        wClass.hbrBackground  = (HBRUSH)(COLOR_3DFACE+1);
+        wClass.hbrBackground  = (HBRUSH)GetStockObject(BLACK_BRUSH);
         wClass.lpszMenuName   = NULL;
         wClass.lpszClassName  = getClassName();
 

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to