diff options
Diffstat (limited to 'www-client/firefox/files/firefox-45-qt-widget-fix.patch')
-rw-r--r-- | www-client/firefox/files/firefox-45-qt-widget-fix.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/www-client/firefox/files/firefox-45-qt-widget-fix.patch b/www-client/firefox/files/firefox-45-qt-widget-fix.patch new file mode 100644 index 0000000..339bec0 --- /dev/null +++ b/www-client/firefox/files/firefox-45-qt-widget-fix.patch @@ -0,0 +1,21 @@ +--- a/widget/qt/nsWindow.cpp 2016-02-01 17:41:02.000000000 -0500 ++++ b/widget/qt/nsWindow.cpp 2016-02-04 11:22:02.369759044 -0500 +@@ -594,17 +594,17 @@ + } + + NS_IMETHODIMP + nsWindow::ConfigureChildren(const nsTArray<nsIWidget::Configuration>& aConfigurations) + { + for (uint32_t i = 0; i < aConfigurations.Length(); ++i) { + const Configuration& configuration = aConfigurations[i]; + +- nsWindow* w = static_cast<nsWindow*>(configuration.mChild); ++ nsWindow* w = static_cast<nsWindow*>(configuration.mChild.get()); + NS_ASSERTION(w->GetParent() == this, + "Configured widget is not a child"); + + LayoutDeviceIntRect wBounds = + LayoutDeviceIntRect::FromUnknownRect(w->mBounds); + if (wBounds.Size() != configuration.mBounds.Size()) { + w->Resize(configuration.mBounds.x, configuration.mBounds.y, + configuration.mBounds.width, configuration.mBounds.height, |