https://bugs.kde.org/show_bug.cgi?id=364044

--- Comment #6 from Sebastian Kügler <se...@kde.org> ---
Git commit 54ec74901a0fea1601f76278d6e04af4fbd4b74d by Sebastian Kügler.
Committed on 14/06/2016 at 12:34.
Pushed by sebas into branch 'master'.

more creative output type detection in xrandr backend

Summary:
Many users report Unknown output types, while the reported output names
are more reliable. This patch makes the code fall back to the name-based
detection code (which was there already anyway, but hardly used).

I've removed one private static method, since this was only called from
one place and moving this logic into the method where the rest of the
string detection happens makes the code more readable.

The "panel" detection still plays a bit of a special role, this matches
the previous behavior, which I really don't want to change.

Also, "DP<something>" is commonly used for displayport connectors, so
match that as well.

Reviewers: #plasma, dvratil

Reviewed By: dvratil

Subscribers: broulik, graesslin, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D1856

M  +16   -21   backends/xrandr/xrandroutput.cpp
M  +0    -1    backends/xrandr/xrandroutput.h

http://commits.kde.org/libkscreen/54ec74901a0fea1601f76278d6e04af4fbd4b74d

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to