fix for regression bug #198946

"repainting horribly broken"
caused by roc's checkin for bug #113232
this is roc's patch for the problem.


git-svn-id: svn://10.0.0.236/trunk@140159 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sspitzer%netscape.com
2003-03-24 20:41:10 +00:00
parent e512518762
commit eeb894ca8c
2 changed files with 8 additions and 4 deletions

View File

@@ -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;
}
}
}