[Xfce4-commits] [xfce/xfce4-settings] 01/01: Updated laptop detection to include eDP in XfceRandr
noreply at xfce.org
noreply at xfce.org
Sun Jun 17 14:28:01 CEST 2018
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfce4-settings.
commit 00a2c585af059f48ff5293c07c52100ae53712c6
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Sun Jun 17 08:27:56 2018 -0400
Updated laptop detection to include eDP in XfceRandr
---
NEWS | 3 ++-
dialogs/display-settings/display-name.c | 1 -
dialogs/display-settings/xfce-randr.c | 1 +
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/NEWS b/NEWS
index 1087411..6e5326b 100644
--- a/NEWS
+++ b/NEWS
@@ -5,7 +5,8 @@
- Ported from dbus-glib to gdbus (Xfce #14426)
- Improved display manufucturer name recognition:
- Refreshed PNP IDs from hwdata
- - Added support for SDC (Laptop) and VBX (VirtualBox)
+ - Added support for VBX (VirtualBox)
+ - Updated laptop detection to include eDP in XfceRandr
- Standardized and shortened manufacturer names
4.13.2
diff --git a/dialogs/display-settings/display-name.c b/dialogs/display-settings/display-name.c
index 254974c..187935e 100644
--- a/dialogs/display-settings/display-name.c
+++ b/dialogs/display-settings/display-name.c
@@ -1974,7 +1974,6 @@ static const struct Vendor vendors[] =
{ "SCS", "Nanomach Anstalt" },
{ "SCT", "Smart Card Technology" },
{ "SDA", "SAT (Societe Anonyme)" },
- { "SDC", "Laptop" }, // based on available hardware and no registered PNP
{ "SDD", "Intrada-SDD Ltd" },
{ "SDE", "Sherwood Digital Electronics Corporation" },
{ "SDF", "SODIFF E&T CO., Ltd." },
diff --git a/dialogs/display-settings/xfce-randr.c b/dialogs/display-settings/xfce-randr.c
index 3f63afa..27f482a 100644
--- a/dialogs/display-settings/xfce-randr.c
+++ b/dialogs/display-settings/xfce-randr.c
@@ -549,6 +549,7 @@ xfce_randr_friendly_name (XfceRandr *randr,
/* special case, a laptop */
if (g_str_has_prefix (name, "LVDS")
+ || g_str_has_prefix (name, "eDP")
|| strcmp (name, "PANEL") == 0)
return g_strdup (_("Laptop"));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list