From 4f511e62fe8fe990d4133f7bcddda2f4f3cf689c Mon Sep 17 00:00:00 2001 From: "joshmoz%gmail.com" Date: Wed, 4 Oct 2006 20:03:59 +0000 Subject: [PATCH] opening new blank tab "flashes" the pinstripe background before showing white. b=354863 r=mento sr=pinkerton git-svn-id: svn://10.0.0.236/trunk@213117 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/cocoa/nsCocoaWindow.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mozilla/widget/src/cocoa/nsCocoaWindow.mm b/mozilla/widget/src/cocoa/nsCocoaWindow.mm index cc6b130eb00..cd0f5540d7a 100644 --- a/mozilla/widget/src/cocoa/nsCocoaWindow.mm +++ b/mozilla/widget/src/cocoa/nsCocoaWindow.mm @@ -375,6 +375,8 @@ nsresult nsCocoaWindow::StandardCreate(nsIWidget *aParent, [mWindow setLevel:kCGDesktopWindowLevelKey]; } + [mWindow setBackgroundColor:[NSColor whiteColor]]; + [mWindow setContentMinSize:NSMakeSize(60, 60)]; [mWindow setReleasedWhenClosed:NO];