summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-07-24 14:59:07 +0300
committerMonsta <[email protected]>2015-07-24 14:59:07 +0300
commitaaa2efebb45ae21ab7cfac1daee3d77baaed9542 (patch)
tree8561359c3927086b8711df24c9f2108677ea6b46
parent23552f005710a9cf528a763cd8221fa0fd9b72bf (diff)
downloadmate-desktop-aaa2efebb45ae21ab7cfac1daee3d77baaed9542.tar.bz2
mate-desktop-aaa2efebb45ae21ab7cfac1daee3d77baaed9542.tar.xz
rr: Embedded Display Port outputs considered as laptop's built-in display
from https://github.com/GNOME/gnome-desktop/commit/11997d32313cd67f24cb26e18c562fa4b75ea36f
-rw-r--r--libmate-desktop/mate-rr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmate-desktop/mate-rr.c b/libmate-desktop/mate-rr.c
index 65b4811..9c435f9 100644
--- a/libmate-desktop/mate-rr.c
+++ b/libmate-desktop/mate-rr.c
@@ -1492,7 +1492,8 @@ mate_rr_output_is_laptop (MateRROutput *output)
&& (strstr (output->name, "lvds") || /* Most drivers use an "LVDS" prefix... */
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, "LCD") || /* ... but fglrx uses "LCD" in some versions. Shoot me now, kthxbye. */
+ strstr (output->name, "eDP"))) /* eDP is for internal laptop panel connections */
return TRUE;
return FALSE;