diff options
Diffstat (limited to 'www-client/chromium/files/chromium-launcher-r6.sh')
-rw-r--r-- | www-client/chromium/files/chromium-launcher-r6.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www-client/chromium/files/chromium-launcher-r6.sh b/www-client/chromium/files/chromium-launcher-r6.sh index cc548e3e3a9c..637cfd612aa5 100644 --- a/www-client/chromium/files/chromium-launcher-r6.sh +++ b/www-client/chromium/files/chromium-launcher-r6.sh @@ -36,7 +36,7 @@ fi # Select session type and platform if @@FORCE_OZONE_PLATFORM@@; then CHROMIUM_FLAGS="--enable-features=UseOzonePlatform ${CHROMIUM_FLAGS}" -elif @@OZONE_AUTO_SESSION@@; then +elif @@OZONE_AUTO_SESSION@@ && ! ${DISABLE_OZONE_PLATFORM:-false}; then if [[ ${XDG_SESSION_TYPE} == wayland || -n ${WAYLAND_DISPLAY} && ${XDG_SESSION_TYPE} != x11 ]]; then CHROMIUM_FLAGS="--enable-features=UseOzonePlatform ${CHROMIUM_FLAGS}" fi |