diff options
author | Martin Stransky <stransky@redhat.com> | 2021-03-01 15:10:18 +0100 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2021-03-01 15:10:18 +0100 |
commit | 818bcfb4818e8c739641a3e2c48e719f705b0e6c (patch) | |
tree | c9a5b549fe686c6dc9d4b3a528dab0df7af619cd | |
parent | Added icecat-78.7.1-fix_error_template_with_C_linkage.patch to build on F34+ (diff) | |
download | librewolf-fedora-ff-818bcfb4818e8c739641a3e2c48e719f705b0e6c.tar.gz librewolf-fedora-ff-818bcfb4818e8c739641a3e2c48e719f705b0e6c.tar.bz2 librewolf-fedora-ff-818bcfb4818e8c739641a3e2c48e719f705b0e6c.zip |
Enable Wayland backend when Wayland display is set
-rw-r--r-- | firefox.sh.in | 2 | ||||
-rw-r--r-- | firefox.spec | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/firefox.sh.in b/firefox.sh.in index a34f5da..f81f978 100644 --- a/firefox.sh.in +++ b/firefox.sh.in @@ -70,7 +70,7 @@ GETENFORCE_FILE="/usr/sbin/getenforce" ## ## Enable Wayland backend? ## -if ! [ $MOZ_DISABLE_WAYLAND ]; then +if ! [ $MOZ_DISABLE_WAYLAND ] && [ "$WAYLAND_DISPLAY" ]; then if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ]; then export MOZ_ENABLE_WAYLAND=1 fi diff --git a/firefox.spec b/firefox.spec index 8e2c869..7324997 100644 --- a/firefox.spec +++ b/firefox.spec @@ -174,7 +174,7 @@ ExcludeArch: armv7hl Summary: Mozilla Firefox Web browser Name: firefox Version: 86.0 -Release: 3%{?pre_tag}%{?dist} +Release: 4%{?pre_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 @@ -1081,6 +1081,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : #--------------------------------------------------------------------- %changelog +* Mon Mar 1 2021 Martin Stransky <stransky@redhat.com> - 86.0-4 +- Enable Wayland backend only when Wayland display is set. + * Mon Mar 1 2021 Martin Stransky <stransky@redhat.com> - 86.0-3 - Added icecat-78.7.1-fix_error_template_with_C_linkage.patch to build on F34+ |