summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2020-03-16 14:01:31 +0100
committerMartin Stransky <stransky@redhat.com>2020-03-16 14:01:31 +0100
commitc4945dd7fe2a8c9c24a97308a68dae515c50dfe8 (patch)
tree35949c2c33dd17c5e78e3cc9e3ee91ff8df814ea
parentAdded fix for mozbz#1615098 (diff)
downloadlibrewolf-fedora-ff-c4945dd7fe2a8c9c24a97308a68dae515c50dfe8.tar.gz
librewolf-fedora-ff-c4945dd7fe2a8c9c24a97308a68dae515c50dfe8.tar.bz2
librewolf-fedora-ff-c4945dd7fe2a8c9c24a97308a68dae515c50dfe8.zip
Use D-Bus remote exclusively for both X11 and Wayland backends when WAYLAND_DISPLAY is present.
-rw-r--r--firefox.sh.in7
-rw-r--r--firefox.spec6
2 files changed, 12 insertions, 1 deletions
diff --git a/firefox.sh.in b/firefox.sh.in
index f111801..75148e5 100644
--- a/firefox.sh.in
+++ b/firefox.sh.in
@@ -76,6 +76,13 @@ if __DEFAULT_WAYLAND__ && ! [ $MOZ_DISABLE_WAYLAND ]; then
fi
##
+## Use D-Bus remote exclusively when there's Wayland display.
+##
+if [ "$WAYLAND_DISPLAY" ]; then
+ export MOZ_DBUS_REMOTE=1
+fi
+
+##
## Set MOZ_GRE_CONF
##
MOZ_GRE_CONF=/etc/gre.d/gre.conf
diff --git a/firefox.spec b/firefox.spec
index d50034b..1f7a95e 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -118,7 +118,7 @@ ExcludeArch: s390x
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 74.0
-Release: 6%{?nss_tag}%{?dist}
+Release: 7%{?nss_tag}%{?dist}
URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
@@ -960,6 +960,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
+* Mon Mar 16 2020 Martin Stransky <stransky@redhat.com> - 74.0-7
+- Use D-Bus remote exclusively for both X11 and Wayland backends
+ when WAYLAND_DISPLAY is present.
+
* Fri Mar 13 2020 Martin Stransky <stransky@redhat.com> - 74.0-6
- Added fix for mozbz#1615098
bgstack15