Skip to content
Commit ffe2de80 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

Fix crash when embeddedOutput() fails to detect embedded output

Some laptops (probably older models) use 'VGA-*' to identify embedded
outputs, so embeddedOutput() will fail, because it only looks for
modern 'LVDS', 'EDP', etc. In such case, just try to use the output
with lowest ID. It's highly probably that it will be the right one.

We should also try to come up with some really reliable method, instead
of name-based guessing.

BUG: 318907
FIXED-IN: 1.0
parent 8e7bc841
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