diff options
Diffstat (limited to 'firefox.sh.in')
-rw-r--r-- | firefox.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firefox.sh.in b/firefox.sh.in index a34f5da..f81f978 100644 --- a/firefox.sh.in +++ b/firefox.sh.in @@ -70,7 +70,7 @@ GETENFORCE_FILE="/usr/sbin/getenforce" ## ## Enable Wayland backend? ## -if ! [ $MOZ_DISABLE_WAYLAND ]; then +if ! [ $MOZ_DISABLE_WAYLAND ] && [ "$WAYLAND_DISPLAY" ]; then if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ]; then export MOZ_ENABLE_WAYLAND=1 fi |