diff -r c3d884659acf -r 57fc0524b50c MozillaFirefox/mozilla.sh.in --- a/MozillaFirefox/mozilla.sh.in Sat Mar 27 21:45:50 2021 +0100 +++ b/MozillaFirefox/mozilla.sh.in Sat May 29 22:52:13 2021 +0200 @@ -84,8 +84,11 @@ export GNOME_DISABLE_CRASH_DIALOG=1 # Wayland +# Only supported on newer systems +WAYLAND_SUPPORTED=%WAYLAND_SUPPORTED + # $XDG_SESSION_TYPE should contain either x11 or wayland -if [ "$XDG_SESSION_TYPE" = "wayland" ]; then +if [ $WAYLAND_SUPPORTED -eq 1 ] && [ "$XDG_SESSION_TYPE" = "wayland" ]; then export MOZ_ENABLE_WAYLAND=1 fi