Wayland: add support for output type detection
ClosedPublic

Authored by dvratil on Jan 15 2018, 10:44 PM.

Details

Summary

We can share the same "guessing" code with the XRandR backend here in order to
detect what type the output is (depending on having some of the well-known
connection types like HDMI, DP, etc. in its name).

The main benefit of this change is that we can know detect built-in laptop
screens on Wayland.

Diff Detail

Repository
R110 KScreen Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dvratil created this revision.Jan 15 2018, 10:44 PM
Restricted Application added a project: Plasma. · View Herald TranscriptJan 15 2018, 10:44 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
dvratil requested review of this revision.Jan 15 2018, 10:44 PM
sebas accepted this revision.Jan 16 2018, 4:09 PM

Nice!

This revision is now accepted and ready to land.Jan 16 2018, 4:09 PM
This revision was automatically updated to reflect the committed changes.