Bug 547723 - Turn off menu background blurring on PPC because it results in blank menus. r=josh

This commit is contained in:
Markus Stange 2010-03-08 13:38:17 +01:00
Родитель e5daecaa8f
Коммит 054412cdcc
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -866,9 +866,12 @@ nsCocoaWindow::SetUpWindowFilter()
CleanUpWindowFilter();
// Only blur the background of menus and fake sheets.
// Only blur the background of menus and fake sheets, but not on PPC
// because it results in blank windows (bug 547723).
#ifndef __ppc__
if (mShadowStyle != NS_STYLE_WINDOW_SHADOW_MENU &&
mShadowStyle != NS_STYLE_WINDOW_SHADOW_SHEET)
#endif
return;
// Create a CoreImage filter and set it up