зеркало из https://github.com/mozilla/pjs.git
fix for regression bug #198946
"repainting horribly broken" caused by roc's checkin for bug #113232 this is roc's patch for the problem.
This commit is contained in:
Родитель
04293f017e
Коммит
6f0166d1ae
|
@ -585,8 +585,10 @@ SyncFrameViewGeometryDependentProperties(nsIPresContext* aPresContext,
|
|||
aView->GetWidget(*getter_AddRefs(widget));
|
||||
if (widget) {
|
||||
// Enable translucency in the widget
|
||||
widget->SetWindowTranslucency(PR_TRUE);
|
||||
viewHasTransparentContent = PR_TRUE;
|
||||
NS_WARNING("Enabling window transparency");
|
||||
// commented out, see bug #198946
|
||||
//widget->SetWindowTranslucency(PR_TRUE);
|
||||
//viewHasTransparentContent = PR_TRUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -585,8 +585,10 @@ SyncFrameViewGeometryDependentProperties(nsIPresContext* aPresContext,
|
|||
aView->GetWidget(*getter_AddRefs(widget));
|
||||
if (widget) {
|
||||
// Enable translucency in the widget
|
||||
widget->SetWindowTranslucency(PR_TRUE);
|
||||
viewHasTransparentContent = PR_TRUE;
|
||||
NS_WARNING("Enabling window transparency");
|
||||
// commented out, see bug #198946
|
||||
//widget->SetWindowTranslucency(PR_TRUE);
|
||||
//viewHasTransparentContent = PR_TRUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче