Commit 568303d7 authored by David Fuhrmann's avatar David Fuhrmann

macosx: use black color for detached window background

This avoids grey or transparent flashes on start
parent 92b48ad4
...@@ -1860,8 +1860,8 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -1860,8 +1860,8 @@ static VLCMainWindow *_o_sharedInstance = nil;
{ {
[self setAcceptsMouseMovedEvents: YES]; [self setAcceptsMouseMovedEvents: YES];
[self setBackgroundColor: [NSColor blackColor]];
if (b_dark_interface) { if (b_dark_interface) {
[self setBackgroundColor: [NSColor clearColor]];
[self setOpaque: NO]; [self setOpaque: NO];
[self display]; [self display];
[self setHasShadow:NO]; [self setHasShadow:NO];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment