summaryrefslogtreecommitdiff
path: root/firefox.sh.in
diff options
context:
space:
mode:
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