mirror of
https://github.com/hyprwm/aquamarine.git
synced 2025-12-20 04:40:12 +01:00
enable escaping characters for explicit gpu list
This commit is contained in:
parent
a19cf76ee1
commit
1b4b1a9368
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,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, 0, ':', true);
|
||||
Hyprutils::String::CVarList explicitDevices(explicitGpus, 0, ':', true, true);
|
||||
|
||||
// Iterate over GPUs and canonicalize the paths
|
||||
for (auto& d : explicitDevices) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue