MozillaFirefox/mozilla.sh.in
branchfirefox92
changeset 1163 849d6343405b
parent 1157 57fc0524b50c
child 1171 130d464159be
--- a/MozillaFirefox/mozilla.sh.in	Mon Sep 06 12:03:54 2021 +0200
+++ b/MozillaFirefox/mozilla.sh.in	Fri Oct 01 12:00:20 2021 +0200
@@ -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