mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 618561 - Speedup painting on maemo6 r=dougt a=approval2.0
--HG-- extra : rebase_source : 67ebdafda1765c52e65c04b60c0cfbfb1c5f1d34
This commit is contained in:
parent
1d2b590fda
commit
2ccad4da8f
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user