diff options
author | Martin Stransky <stransky@redhat.com> | 2019-02-04 14:56:47 +0100 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2019-02-04 14:56:47 +0100 |
commit | a1d5dfd4486faa101cbf3d33f45a9f36ec6f358f (patch) | |
tree | 83647205a35564721efdacade9f96443d93ca170 /firefox.sh.in | |
parent | Use MOZ_ENABLE_WAYLAND to enable Wayland backend (diff) | |
download | librewolf-fedora-ff-a1d5dfd4486faa101cbf3d33f45a9f36ec6f358f.tar.gz librewolf-fedora-ff-a1d5dfd4486faa101cbf3d33f45a9f36ec6f358f.tar.bz2 librewolf-fedora-ff-a1d5dfd4486faa101cbf3d33f45a9f36ec6f358f.zip |
Updated launcher scripts
Diffstat (limited to 'firefox.sh.in')
-rw-r--r-- | firefox.sh.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/firefox.sh.in b/firefox.sh.in index 8bace48..06819d1 100644 --- a/firefox.sh.in +++ b/firefox.sh.in @@ -67,6 +67,15 @@ MOZ_PROGRAM="$MOZ_DIST_BIN/$MOZ_FIREFOX_FILE" MOZ_LAUNCHER="$MOZ_DIST_BIN/run-mozilla.sh" ## +## Enable Wayland backend? +## +if __DEFAULT_WAYLAND__ && ! [ $MOZ_DISABLE_WAYLAND ]; then + if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ]; then + export MOZ_ENABLE_WAYLAND=1 + fi +fi + +## ## Set MOZ_GRE_CONF ## MOZ_GRE_CONF=/etc/gre.d/gre.conf |