]> git.sesse.net Git - vlc/commitdiff
macosx: use black color for detached window background
authorDavid Fuhrmann <david.fuhrmann@googlemail.com>
Sun, 30 Sep 2012 18:46:24 +0000 (20:46 +0200)
committerDavid Fuhrmann <david.fuhrmann@googlemail.com>
Sun, 30 Sep 2012 18:47:30 +0000 (20:47 +0200)
This avoids grey or transparent flashes on start

modules/gui/macosx/MainWindow.m

index 6db988b2654b5797499b5aed167711333d1f34b0..98fc6ff2175eeadee0f043293ab2675476171f75 100644 (file)
@@ -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];