public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/chromium] epel9-next: add autodetection of wayland
Date: Fri, 07 Aug 2026 16:08:15 GMT [thread overview]
Message-ID: <178611889581.1.17316535858849158644.rpms-chromium-d3cec61143b4@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/chromium
Branch : epel9-next
Commit : d3cec61143b4950d8798f88c676e5f0d231817b6
Author : Luan Vitor Simião oliveira <luanv.oliveira@outlook.com>
Date : 2025-10-02T16:34:54-03:00
Stats : +6/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/d3cec61143b4950d8798f88c676e5f0d231817b6?branch=epel9-next
Log:
add autodetection of wayland
chromium is already selecting wayland when available, add autodetection so x11 flags don't get applied to wayland sessions
---
diff --git a/chromium.conf b/chromium.conf
index e2c8640..455d63c 100644
--- a/chromium.conf
+++ b/chromium.conf
@@ -10,13 +10,17 @@ GRAPHIC_DRIVER=default
WEB_DARKMODE=off
# NATIVE_WAYLAND=[on|off]
-NATIVE_WAYLAND=off
+# chromium >=141 switched to --ozone-platform-hint=auto
+if [ ! -z "$WAYLAND_DISPLAY" ]; then
+ NATIVE_WAYLAND=on
+else
+ NATIVE_WAYLAND=off
+fi
FEATURES="AllowQt"
CHROMIUM_FLAGS=" --enable-chrome-browser-cloud-management"
if [ "$NATIVE_WAYLAND" == "on" ] ; then
FEATURES+=",WaylandLinuxDrmSyncobj,WaylandPerSurfaceScale,WaylandUiScale"
- CHROMIUM_FLAGS+=" --ozone-platform-hint=auto"
else
CHROMIUM_FLAGS+=" --enable-gpu-memory-buffer-video-frames"
CHROMIUM_FLAGS+=" --enable-zero-copy"
reply other threads:[~2026-08-07 16:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178611889581.1.17316535858849158644.rpms-chromium-d3cec61143b4@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox