[gnome-desktop] gnome-rr: Detect Apple DFP outputs as internal
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-desktop] gnome-rr: Detect Apple DFP outputs as internal
- Date: Fri, 16 Mar 2012 09:19:56 +0000 (UTC)
commit ead1b3478c86e80237c79c6f618d8187b6cd9eeb
Author: Bastien Nocera <hadess hadess net>
Date: Wed Mar 14 10:35:11 2012 +0100
gnome-rr: Detect Apple DFP outputs as internal
As used in MacBookPro5,3
https://bugzilla.gnome.org/show_bug.cgi?id=672030
Signed-off-by: Richard Hughes <richard hughsie com>
libgnome-desktop/gnome-rr.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libgnome-desktop/gnome-rr.c b/libgnome-desktop/gnome-rr.c
index b319b26..6f226bd 100644
--- a/libgnome-desktop/gnome-rr.c
+++ b/libgnome-desktop/gnome-rr.c
@@ -1906,7 +1906,8 @@ gnome_rr_output_is_laptop (GnomeRROutput *output)
strstr (output->name, "LVDS") ||
strstr (output->name, "Lvds") ||
strstr (output->name, "LCD") || /* ... but fglrx uses "LCD" in some versions. Shoot me now, kthxbye. */
- strstr (output->name, "eDP"))) /* eDP is for internal laptop panel connections */
+ strstr (output->name, "eDP") || /* eDP is for internal laptop panel connections */
+ strstr (output->name, "DFP"))) /* DFP is also an internal laptop display */
return TRUE;
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]