Commit e0a6d029 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[x11] Fix loading monitor edid

i is the counter for the crtc loop, not the monitor loop

This fixes loading the edid for all monitors and thus the output identifier effect
parent 54e74df5
Pipeline #212288 passed with stage
in 15 minutes and 42 seconds
......@@ -566,8 +566,8 @@ void X11StandalonePlatform::doUpdateOutputs()
};
bool ok;
if (auto data = edids[i].toByteArray(&ok); ok && !data.isEmpty()) {
if (auto edid = Edid(data, edids[i].data()->num_items); edid.isValid()) {
if (auto data = edids[j].toByteArray(&ok); ok && !data.isEmpty()) {
if (auto edid = Edid(data, edids[j].data()->num_items); edid.isValid()) {
information.manufacturer = edid.manufacturerString();
information.model = edid.monitorName();
information.serialNumber = edid.serialNumber();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment