diff -r 004e4b1efb26 -r a9cd24eaa361 MozillaFirefox/mozilla.sh.in --- a/MozillaFirefox/mozilla.sh.in Wed Feb 19 22:51:20 2020 +0100 +++ b/MozillaFirefox/mozilla.sh.in Sat Mar 07 09:48:10 2020 +0100 @@ -81,6 +81,12 @@ # disable Gnome crash dialog (doesn't make sense anyway) export GNOME_DISABLE_CRASH_DIALOG=1 +# Wayland +# $XDG_SESSION_TYPE should contain either x11 or wayland +if [ "$XDG_SESSION_TYPE" = "wayland" ]; then + export MOZ_ENABLE_WAYLAND=1 +fi + # enable xinput2 (boo#1032003) # breaks too many things right now (boo#1053959) #export MOZ_USE_XINPUT2=1