diff options
Diffstat (limited to 'firefox.sh.in')
-rw-r--r-- | firefox.sh.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/firefox.sh.in b/firefox.sh.in index 8bace48..06819d1 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 Wayland backend? +## +if __DEFAULT_WAYLAND__ && ! [ $MOZ_DISABLE_WAYLAND ]; then + if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ]; then + export MOZ_ENABLE_WAYLAND=1 + fi +fi + +## ## Set MOZ_GRE_CONF ## MOZ_GRE_CONF=/etc/gre.d/gre.conf |