MozillaFirefox/mozilla.sh.in
branchfirefox91
changeset 1167 7852ceef239b
parent 1157 57fc0524b50c
child 1171 130d464159be
--- a/MozillaFirefox/mozilla.sh.in	Mon Sep 06 12:03:54 2021 +0200
+++ b/MozillaFirefox/mozilla.sh.in	Tue Nov 02 13:21:17 2021 +0100
@@ -88,7 +88,7 @@
 WAYLAND_SUPPORTED=%WAYLAND_SUPPORTED
 
 # $XDG_SESSION_TYPE should contain either x11 or wayland
-if [ $WAYLAND_SUPPORTED -eq 1 ] && [ "$XDG_SESSION_TYPE" = "wayland" ]; then
+if [ $WAYLAND_SUPPORTED -eq 1 ] && [ "$XDG_SESSION_TYPE" = "wayland" ] && [ -z "$MOZ_ENABLE_WAYLAND" ]; then
   export MOZ_ENABLE_WAYLAND=1
 fi