diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-05-26 23:13:48 -0500 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-05-26 23:13:48 -0500 |
| commit | 66ebc04543c1ef6c6530d0fbef6900cbda8c265a (patch) | |
| tree | ee3439f841fe73a3c4699b287141b1d04da6182a /src | |
| parent | 99d9edb81c2f2342eccb3bc6d871b4b21a793636 (diff) | |
Require injected xrandr for prefix init
Diffstat (limited to 'src')
| -rw-r--r-- | src/src/prefixsetuprunner.cpp | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/src/prefixsetuprunner.cpp b/src/src/prefixsetuprunner.cpp index c317832..0c49baa 100644 --- a/src/src/prefixsetuprunner.cpp +++ b/src/src/prefixsetuprunner.cpp @@ -958,15 +958,14 @@ bool PrefixSetupRunner::stepProtonInit() return false; } - // Proton-GE invokes `xrandr` during protonfixes at wineboot time. The - // steamrt4 pressure-vessel container ships without it, so back-fill our - // injected copy before init if missing — otherwise the protonfix - // silently no-ops and prefix setup can hang or fall back to a broken - // state on multi-monitor machines. See issue #49. - if (!isXrandrInjected()) { - emit logMessage("xrandr helper missing; downloading…"); - ensureXrandrInstalled( - nullptr, [this](const QString& msg) { emit logMessage(msg); }); + // Proton-GE invokes `xrandr` during protonfixes at wineboot time. Always + // ensure Fluorine's injected helper exists after SLR is available, then the + // wrapper below exposes that exact directory and prepends it to PATH. + emit logMessage("Ensuring xrandr helper is available..."); + if (!ensureXrandrInstalled( + nullptr, [this](const QString& msg) { emit logMessage(msg); })) { + currentStep().errorMessage = "Failed to install xrandr helper"; + return false; } const QString steamPath = detectSteamPath(); |
