summaryrefslogtreecommitdiff
path: root/firefox.sh.in
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2020-03-16 14:01:31 +0100
committerMartin Stransky <stransky@redhat.com>2020-03-16 14:01:31 +0100
commitc4945dd7fe2a8c9c24a97308a68dae515c50dfe8 (patch)
tree35949c2c33dd17c5e78e3cc9e3ee91ff8df814ea /firefox.sh.in
parentAdded fix for mozbz#1615098 (diff)
downloadlibrewolf-fedora-ff-c4945dd7fe2a8c9c24a97308a68dae515c50dfe8.tar.gz
librewolf-fedora-ff-c4945dd7fe2a8c9c24a97308a68dae515c50dfe8.tar.bz2
librewolf-fedora-ff-c4945dd7fe2a8c9c24a97308a68dae515c50dfe8.zip
Use D-Bus remote exclusively for both X11 and Wayland backends when WAYLAND_DISPLAY is present.
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