Bug 618561 - Speedup painting on maemo6 r=dougt a=approval2.0

--HG--
extra : rebase_source : 67ebdafda1765c52e65c04b60c0cfbfb1c5f1d34
This commit is contained in:
Oleg Romashin 2011-01-04 17:37:27 +02:00
parent 1d2b590fda
commit 2ccad4da8f

View File

@ -2590,6 +2590,11 @@ nsWindow::createQWidget(MozQWidget *parent, nsWidgetInitData *aInitData)
// Top level widget is just container, and should not be painted
widget->setFlag(QGraphicsItem::ItemHasNoContents);
#endif
#ifdef MOZ_X11
XSetWindowBackgroundPixmap(QX11Info::display(),
newView->effectiveWinId(), None);
#endif
} else if (eWindowType_dialog == mWindowType && parent)
parent->scene()->addItem(widget);