bug 307204, implement support for transparent windows in XUL for Mac OS X. r=josh, sr=roc, approval1.9=damons

This commit is contained in:
2007-12-19 11:40:18 -08:00
parent 4042193201
commit 3e225b627a
16 changed files with 173 additions and 136 deletions

View File

@@ -244,7 +244,7 @@ nsMenuPopupFrame::CreateWidgetForView(nsIView* aView)
aView->CreateWidget(kCChildCID, &widgetData, nsnull, PR_TRUE, PR_TRUE,
eContentTypeInherit, parentWidget);
#endif
aView->GetWidget()->SetWindowTranslucency(viewHasTransparentContent);
aView->GetWidget()->SetHasTransparentBackground(viewHasTransparentContent);
return NS_OK;
}