MozillaFirefox/mozilla.sh.in
branchfirefox91
changeset 1167 7852ceef239b
parent 1157 57fc0524b50c
child 1171 130d464159be
equal deleted inserted replaced
1162:af5e283c2e5d 1167:7852ceef239b
    86 # Wayland
    86 # Wayland
    87 # Only supported on newer systems
    87 # Only supported on newer systems
    88 WAYLAND_SUPPORTED=%WAYLAND_SUPPORTED
    88 WAYLAND_SUPPORTED=%WAYLAND_SUPPORTED
    89 
    89 
    90 # $XDG_SESSION_TYPE should contain either x11 or wayland
    90 # $XDG_SESSION_TYPE should contain either x11 or wayland
    91 if [ $WAYLAND_SUPPORTED -eq 1 ] && [ "$XDG_SESSION_TYPE" = "wayland" ]; then
    91 if [ $WAYLAND_SUPPORTED -eq 1 ] && [ "$XDG_SESSION_TYPE" = "wayland" ] && [ -z "$MOZ_ENABLE_WAYLAND" ]; then
    92   export MOZ_ENABLE_WAYLAND=1
    92   export MOZ_ENABLE_WAYLAND=1
    93 fi
    93 fi
    94 
    94 
    95 ##
    95 ##
    96 ## Use D-Bus remote exclusively when there's Wayland display.
    96 ## Use D-Bus remote exclusively when there's Wayland display.