Commit 7ed3718
committed
[core] fix: restore --ozone-platform=wayland flag for reliable Wayland support
The Electron 38+ auto-detection of ozone-platform does not work reliably
in all environments (e.g., Docker containers) because it depends on
environment variables like XDG_SESSION_TYPE which may not be set.
Since start:wayland is explicitly called for Wayland sessions, it makes
sense to explicitly specify the platform flag for maximum reliability.
The --enable-features=UseOzonePlatform flag remains removed as it is no
longer needed since Electron 38.
Fixes Docker compatibility issue reported in #39741 parent 1998b62 commit 7ed3718
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments