summaryrefslogtreecommitdiff
path: root/firefox.sh.in
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2018-01-30 12:40:25 +0100
committerMartin Stransky <stransky@redhat.com>2018-01-30 12:40:25 +0100
commitc45606f4574eb364f78af13cde501c02c2207228 (patch)
treeca11740831c657eeb35cc0c769bd19923aae7eee /firefox.sh.in
parentUpdate to Firefox 59.0 Beta 4, Enabled Wayland backend (diff)
downloadlibrewolf-fedora-ff-c45606f4574eb364f78af13cde501c02c2207228.tar.gz
librewolf-fedora-ff-c45606f4574eb364f78af13cde501c02c2207228.tar.bz2
librewolf-fedora-ff-c45606f4574eb364f78af13cde501c02c2207228.zip
Build fixes
Diffstat (limited to 'firefox.sh.in')
-rw-r--r--firefox.sh.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/firefox.sh.in b/firefox.sh.in
index a310721..591ed62 100644
--- a/firefox.sh.in
+++ b/firefox.sh.in
@@ -65,7 +65,15 @@ MOZ_LANGPACKS_DIR="$MOZ_DIST_BIN/langpacks"
MOZ_EXTENSIONS_PROFILE_DIR="$HOME/.mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
MOZ_PROGRAM="$MOZ_DIST_BIN/$MOZ_FIREFOX_FILE"
MOZ_LAUNCHER="$MOZ_DIST_BIN/run-mozilla.sh"
-
+
+
+##
+## Set X11 backed as a default one
+##
+if ! [ "$GDK_BACKEND" ] then
+ export GDK_BACKEND=x11
+fi
+
##
## Set MOZ_GRE_CONF
##
@@ -246,4 +254,5 @@ then
echo $MOZ_LAUNCHER $script_args $MOZ_PROGRAM "$@"
fi
+
exec $MOZ_LAUNCHER $script_args $MOZ_PROGRAM "$@"
bgstack15