[vlc-commits] npapi win32: set window color to black when no video playing.

Sergey Radionov git at videolan.org
Thu Jan 5 03:00:05 CET 2012


npapi-vlc | branch: master | Sergey Radionov <RSATom at gmail.com> | 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();
 



More information about the vlc-commits mailing list