[vlc-commits] macosx: use black color for detached window background
David Fuhrmann
git at videolan.org
Sun Sep 30 22:02:54 CEST 2012
vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Sun Sep 30 20:46:24 2012 +0200| [568303d7e84c1cb8a66ad694ea82e5fc7b2f4d43] | committer: David Fuhrmann
macosx: use black color for detached window background
This avoids grey or transparent flashes on start
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=568303d7e84c1cb8a66ad694ea82e5fc7b2f4d43
---
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 6db988b..98fc6ff 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -1860,8 +1860,8 @@ 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