drm: use a colon for separating device lists

This commit is contained in:
Vaxry 2024-06-28 23:38:01 +02:00
parent 57e100c802
commit 903f31ec58

View file

@ -126,7 +126,7 @@ static std::vector<SP<CSessionDevice>> scanGPUs(SP<CBackend> 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, ':', true);
for (auto& d : explicitDevices) {
bool found = false;