[vlc-commits] macosx: use black color for detached window background
David Fuhrmann
git at videolan.org
Tue Oct 2 17:42:45 CEST 2012
vlc/vlc-2.0 | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Tue Oct 2 17:41:39 2012 +0200| [31c26485ebf9212d349b9b441fe3d87068abc92a] | committer: David Fuhrmann
macosx: use black color for detached window background
This avoids grey or transparent flashes on start
(backport of 568303d7e84c1cb8a66ad694ea82e5fc7b2f4d43)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=31c26485ebf9212d349b9b441fe3d87068abc92a
---
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 716b6e7..d4a9ec1 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