MozillaFirefox/mozilla.sh.in
branchfirefox73
changeset 1122 a9cd24eaa361
parent 1119 4c5d44d40a03
child 1138 4ac678bd2a26
--- 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