mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
Bug 562138 - Make all NSWindow's transparent by default, to prevent unwanted flashing of the background window while creating popup windows caused by synchronous painting of NSWindow's; r=josh
This commit is contained in:
parent
b3a7bb169b
commit
d61e2040f9
@ -429,7 +429,8 @@ nsresult nsCocoaWindow::CreateNativeWindow(const NSRect &aRect,
|
||||
[mWindow setHasShadow:YES];
|
||||
}
|
||||
|
||||
[mWindow setBackgroundColor:[NSColor whiteColor]];
|
||||
[mWindow setBackgroundColor:[NSColor clearColor]];
|
||||
[mWindow setOpaque:NO];
|
||||
[mWindow setContentMinSize:NSMakeSize(60, 60)];
|
||||
[mWindow disableCursorRects];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user