mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 21:28:55 +00:00
Bug 636008 - [Maemo6] Fennec crashes on startup, with Xlib error. r=wolfiR a=npotb
--HG-- extra : rebase_source : 8055f0cd4e1c51f2a8372adaf96e4fce701cc960
This commit is contained in:
parent
a36a04c6d1
commit
0234f1d486
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user