Commit 31c26485 authored by David Fuhrmann's avatar David Fuhrmann

macosx: use black color for detached window background

This avoids grey or transparent flashes on start

(backport of 568303d7e84c1cb8a66ad694ea82e5fc7b2f4d43)
parent 413ecd64
......@@ -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];
......
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