From 115dcc7054f5934a2c8e26fd8a8eed5f3e29e9ce Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 28 Mar 2023 09:49:11 +0100 Subject: gentoo auto-resync : 28:03:2023 - 09:49:10 --- .../kscreen-5.27.3-display-connector-name.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 kde-plasma/kscreen/files/kscreen-5.27.3-display-connector-name.patch (limited to 'kde-plasma/kscreen/files') diff --git a/kde-plasma/kscreen/files/kscreen-5.27.3-display-connector-name.patch b/kde-plasma/kscreen/files/kscreen-5.27.3-display-connector-name.patch new file mode 100644 index 000000000000..54497b3d99f8 --- /dev/null +++ b/kde-plasma/kscreen/files/kscreen-5.27.3-display-connector-name.patch @@ -0,0 +1,36 @@ +From 74c99d3afda09d9a715c84150f0bb9afe4003c33 Mon Sep 17 00:00:00 2001 +From: David Redondo +Date: Thu, 23 Mar 2023 09:37:27 +0100 +Subject: [PATCH] Display connector name instead of type name when serial + number is identical + +Displays the name of the connector ("DP-1") instead of just +typeName ("DisplayPort"). When two identical outputs are connected +to the same connector type it doesn't help differntiating. +Furthermore it matches what will be shown by the output locator +effect. +BUG:466046 +FIXED-IN:5.27.4 + + +(cherry picked from commit 21155f81fee953d5b5e1bab92565b85ef99a0260) +--- + common/utils.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/common/utils.cpp b/common/utils.cpp +index 7aaa926..a9eb80c 100644 +--- a/common/utils.cpp ++++ b/common/utils.cpp +@@ -35,7 +35,7 @@ QString Utils::outputName(const KScreen::Output *output, bool shouldShowSerialNu + name += output->edid()->serial() + QLatin1Char(' '); + } + if (shouldShowConnector) { +- name += output->typeName(); ++ name += output->name(); + } + if (!name.trimmed().isEmpty()) { + return name; +-- +2.40.0 + -- cgit v1.2.3