summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2021-01-20 16:35:27 +0100
committerMartin Stransky <stransky@redhat.com>2021-01-20 16:35:27 +0100
commit3ee99c9dd9505a272c7db22da9690929fea544a8 (patch)
treec4770c819d64c2cfb912ce942c1b44400e9d9551
parentMerge branch 'master' into f33 (diff)
parentAdded patch for mozilla bug 1645695 (diff)
downloadlibrewolf-fedora-ff-3ee99c9dd9505a272c7db22da9690929fea544a8.tar.gz
librewolf-fedora-ff-3ee99c9dd9505a272c7db22da9690929fea544a8.tar.bz2
librewolf-fedora-ff-3ee99c9dd9505a272c7db22da9690929fea544a8.zip
Merge branch 'master' into f33
-rw-r--r--firefox.spec2
-rw-r--r--mozilla-1645695.patch14
2 files changed, 16 insertions, 0 deletions
diff --git a/firefox.spec b/firefox.spec
index f28489b..7cbd759 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -225,6 +225,7 @@ Patch421: mozilla-1680505.patch
Patch422: mozilla-1631061.patch
Patch423: mozilla-1681107.patch
Patch424: firefox-wayland-fix-mzbz-1642949-regression.patch
+Patch425: mozilla-1645695.patch
# Upstream patches from mozbz#1672944
Patch450: pw1.patch
@@ -455,6 +456,7 @@ This package contains results of tests executed during build.
#%patch422 -p1 -b .1631061
%patch423 -p1 -b .1681107
%patch424 -p1 -b .fix-mzbz-1642949-regression
+%patch425 -p1 -b .1645695
%patch500 -p1 -b .ffvpx
diff --git a/mozilla-1645695.patch b/mozilla-1645695.patch
new file mode 100644
index 0000000..feaae4a
--- /dev/null
+++ b/mozilla-1645695.patch
@@ -0,0 +1,14 @@
+diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp
+--- a/widget/gtk/nsWindow.cpp
++++ b/widget/gtk/nsWindow.cpp
+@@ -1768,7 +1768,8 @@
+ }
+ #endif
+
+- if (!g_signal_handler_find(
++ if (isWidgetVisible &&
++ !g_signal_handler_find(
+ gdkWindow, G_SIGNAL_MATCH_FUNC, 0, 0, nullptr,
+ FuncToGpointer(NativeMoveResizeWaylandPopupCallback), this)) {
+ g_signal_connect(gdkWindow, "moved-to-rect",
+
bgstack15