mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 04:56:00 +01:00
drm: use a colon for separating device lists
This commit is contained in:
parent
57e100c802
commit
903f31ec58
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ static std::vector<SP<CSessionDevice>> scanGPUs(SP<CBackend> backend) {
|
||||||
auto explicitGpus = getenv("AQ_DRM_DEVICES");
|
auto explicitGpus = getenv("AQ_DRM_DEVICES");
|
||||||
if (explicitGpus) {
|
if (explicitGpus) {
|
||||||
backend->log(AQ_LOG_DEBUG, std::format("drm: Explicit device list {}", 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) {
|
for (auto& d : explicitDevices) {
|
||||||
bool found = false;
|
bool found = false;
|
||||||
|
|
Loading…
Reference in a new issue