From dc1181a65ed7f5ddce9120ec94f0a82040ab4996 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sun, 7 Jul 2024 23:19:00 +0200 Subject: [PATCH] drm: fix epic string parsing fail --- src/backend/drm/DRM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/drm/DRM.cpp b/src/backend/drm/DRM.cpp index 83d53a6..a9e94d9 100644 --- a/src/backend/drm/DRM.cpp +++ b/src/backend/drm/DRM.cpp @@ -131,7 +131,7 @@ static std::vector> scanGPUs(SP backend) { auto explicitGpus = getenv("AQ_DRM_DEVICES"); if (explicitGpus) { backend->log(AQ_LOG_DEBUG, std::format("drm: Explicit device list {}", explicitGpus)); - Hyprutils::String::CVarList explicitDevices(explicitGpus, ':', true); + Hyprutils::String::CVarList explicitDevices(explicitGpus, 0, ':', true); for (auto& d : explicitDevices) { bool found = false;