public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: add autodetection of wayland
@ 2026-08-07 16:08
0 siblings, 0 replies; only message in thread
From: @ 2026-08-07 16:08 UTC (permalink / raw)
To: git-commits
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"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-07 16:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 16:08 [rpms/chromium] epel9-next: add autodetection of wayland
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox