summaryrefslogtreecommitdiff
path: root/firefox.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'firefox.sh.in')
-rw-r--r--firefox.sh.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/firefox.sh.in b/firefox.sh.in
index f111801..75148e5 100644
--- a/firefox.sh.in
+++ b/firefox.sh.in
@@ -76,6 +76,13 @@ if __DEFAULT_WAYLAND__ && ! [ $MOZ_DISABLE_WAYLAND ]; then
fi
##
+## Use D-Bus remote exclusively when there's Wayland display.
+##
+if [ "$WAYLAND_DISPLAY" ]; then
+ export MOZ_DBUS_REMOTE=1
+fi
+
+##
## Set MOZ_GRE_CONF
##
MOZ_GRE_CONF=/etc/gre.d/gre.conf
bgstack15