summaryrefslogtreecommitdiff
path: root/mozilla-1431399.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2019-03-15 13:49:30 +0100
committerMartin Stransky <stransky@redhat.com>2019-03-15 13:49:30 +0100
commit2253caedfaffdd9deb99958c4565df1bda7d2395 (patch)
treee336aee449d15799952d0fd488562b7e286a62f5 /mozilla-1431399.patch
parentUse ld on i686 (diff)
downloadlibrewolf-fedora-ff-2253caedfaffdd9deb99958c4565df1bda7d2395.tar.gz
librewolf-fedora-ff-2253caedfaffdd9deb99958c4565df1bda7d2395.tar.bz2
librewolf-fedora-ff-2253caedfaffdd9deb99958c4565df1bda7d2395.zip
Updated to 66.0 (Build 3), Re-enable s390x arches, Fixed Wayland specific bugs mozbz#1535567, mozbz#1431399
Diffstat (limited to 'mozilla-1431399.patch')
-rw-r--r--mozilla-1431399.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/mozilla-1431399.patch b/mozilla-1431399.patch
new file mode 100644
index 0000000..b6513d0
--- /dev/null
+++ b/mozilla-1431399.patch
@@ -0,0 +1,17 @@
+diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp
+--- a/widget/gtk/nsWindow.cpp
++++ b/widget/gtk/nsWindow.cpp
+@@ -3242,6 +3242,12 @@
+ mBounds = aRect;
+ ConstrainSize(&mBounds.width, &mBounds.height);
+
++ // eWindowType_child is not supported on Wayland. Just switch to toplevel
++ // as a workaround.
++ if (!mIsX11Display && mWindowType == eWindowType_child) {
++ mWindowType = eWindowType_toplevel;
++ }
++
+ // figure out our parent window
+ GtkWidget *parentMozContainer = nullptr;
+ GtkContainer *parentGtkContainer = nullptr;
+
bgstack15