Bug 636008 - [Maemo6] Fennec crashes on startup, with Xlib error. r=wolfiR a=npotb
This commit is contained in:
@@ -2606,8 +2606,10 @@ nsWindow::createQWidget(MozQWidget *parent, nsWidgetInitData *aInitData)
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_X11
|
||||
XSetWindowBackgroundPixmap(QX11Info::display(),
|
||||
newView->effectiveWinId(), None);
|
||||
if (newView->effectiveWinId()) {
|
||||
XSetWindowBackgroundPixmap(QX11Info::display(),
|
||||
newView->effectiveWinId(), None);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user