[vlc-commits] Revert "macosx: use black color for detached window background"

David Fuhrmann git at videolan.org
Tue Oct 2 22:57:43 CEST 2012


vlc/vlc-2.0 | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Tue Oct  2 22:57:29 2012 +0200| [6dd9853ccf6a886f146cd5b3ce5e3732f9eae9d4] | committer: David Fuhrmann

Revert "macosx: use black color for detached window background"

This reverts commit 31c26485ebf9212d349b9b441fe3d87068abc92a.

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=6dd9853ccf6a886f146cd5b3ce5e3732f9eae9d4
---

 modules/gui/macosx/MainWindow.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index d4a9ec1..716b6e7 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -2678,9 +2678,9 @@ static VLCMainWindow *_o_sharedInstance = nil;
 {
     [self setAcceptsMouseMovedEvents: YES];
 
-    [self setBackgroundColor: [NSColor blackColor]];
     if (b_dark_interface)
     {
+        [self setBackgroundColor: [NSColor clearColor]];
         [self setOpaque: NO];
         [self display];
         [self setHasShadow:NO];



More information about the vlc-commits mailing list