diff options
author | Martin Stransky <stransky@redhat.com> | 2018-10-08 14:09:44 +0200 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2018-10-08 14:09:44 +0200 |
commit | d37312c85acfb1a4754989329dfe326b15e88f02 (patch) | |
tree | 6251d7c1d3e78108035ee19d3f9051270ce370d0 /firefox.sh.in | |
parent | Updated to latest upstream (62.0.3) (diff) | |
download | librewolf-fedora-ff-d37312c85acfb1a4754989329dfe326b15e88f02.tar.gz librewolf-fedora-ff-d37312c85acfb1a4754989329dfe326b15e88f02.tar.bz2 librewolf-fedora-ff-d37312c85acfb1a4754989329dfe326b15e88f02.zip |
Added new Wayland patches from Firefox 63, Added pipewire patch, Enabled Wayland by default for Fedora 30
Diffstat (limited to 'firefox.sh.in')
-rw-r--r-- | firefox.sh.in | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/firefox.sh.in b/firefox.sh.in index f149564..adf98e9 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 X11 backend by default? +## +if __DEFAULT_X11__; then + if ! [ "$GDK_BACKEND" ]; then + export GDK_BACKEND=x11 + fi +fi + +## ## Set MOZ_GRE_CONF ## MOZ_GRE_CONF=/etc/gre.d/gre.conf @@ -239,10 +248,6 @@ do esac done -if ! [ "$GDK_BACKEND" ]; then - export GDK_BACKEND=x11 -fi - # Run the browser debugging=0 if [ $debugging = 1 ] @@ -250,5 +255,4 @@ then echo $MOZ_LAUNCHER $script_args $MOZ_PROGRAM "$@" fi - exec $MOZ_LAUNCHER $script_args $MOZ_PROGRAM "$@" |