equal
deleted
inserted
replaced
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. |