diff --git a/AppKit/CPWindow/_CPBorderlessBridgeWindowView.j b/AppKit/CPWindow/_CPBorderlessBridgeWindowView.j index de208b924..a74994230 100644 --- a/AppKit/CPWindow/_CPBorderlessBridgeWindowView.j +++ b/AppKit/CPWindow/_CPBorderlessBridgeWindowView.j @@ -39,6 +39,22 @@ }; } +- (id)initWithFrame:(CGRect)aFrame styleMask:(unsigned)aStyleMask +{ + self = [super initWithFrame:aFrame styleMask:aStyleMask]; + + if (self) + { + // Check if the mask contains the HUD flag + if (aStyleMask & CPHUDBackgroundWindowMask) + { + [self setBackgroundColor:[CPColor blackColor]]; + } + } + + return self; +} + - (void)setShowsResizeIndicator:(BOOL)shouldShowResizeIndicator { // We don't ever want to show the resize indicator.