summaryrefslogtreecommitdiff
path: root/mozilla-1645695.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2021-01-20 16:35:08 +0100
committerMartin Stransky <stransky@redhat.com>2021-01-20 16:35:08 +0100
commite369e8cae9a92d805edaa86125ebac06e221edda (patch)
treec4770c819d64c2cfb912ce942c1b44400e9d9551 /mozilla-1645695.patch
parentFixed mzbz#164294 regression (diff)
downloadlibrewolf-fedora-ff-e369e8cae9a92d805edaa86125ebac06e221edda.tar.gz
librewolf-fedora-ff-e369e8cae9a92d805edaa86125ebac06e221edda.tar.bz2
librewolf-fedora-ff-e369e8cae9a92d805edaa86125ebac06e221edda.zip
Added patch for mozilla bug 1645695
Diffstat (limited to 'mozilla-1645695.patch')
-rw-r--r--mozilla-1645695.patch14
1 files changed, 14 insertions, 0 deletions
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