diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-28 09:49:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-28 09:49:11 +0100 |
commit | 115dcc7054f5934a2c8e26fd8a8eed5f3e29e9ce (patch) | |
tree | c31afe35699960753f76770d6b0b4ea48af9f686 /kde-plasma/kscreen/files | |
parent | e292b671b113c2cc012beddad93a3df4f9410698 (diff) |
gentoo auto-resync : 28:03:2023 - 09:49:10
Diffstat (limited to 'kde-plasma/kscreen/files')
-rw-r--r-- | kde-plasma/kscreen/files/kscreen-5.27.3-display-connector-name.patch | 36 |
1 files changed, 36 insertions, 0 deletions
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 <kde@david-redondo.de> +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 + |