[gnome-desktop/gnome-3-14] gnome-rr: Adding DSI as a builtin display connector



commit 2b563b260cb381404a60645f5fbcb8afe1535ac1
Author: Jan-Michael Brummer <jan brummer tabos org>
Date:   Tue Nov 18 19:13:33 2014 +0100

    gnome-rr: Adding DSI as a builtin display connector
    
    Add DSI to the output name in
    _gnome_rr_output_name_is_builtin_display() to enable screen
    rotation on Dell Venue 8 Pro.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=740289

 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 6607d26..fcfd434 100644
--- a/libgnome-desktop/gnome-rr.c
+++ b/libgnome-desktop/gnome-rr.c
@@ -1531,7 +1531,8 @@ _gnome_rr_output_name_is_builtin_display (const char *name)
        strstr (name, "LVDS") ||
        strstr (name, "Lvds") ||
        strstr (name, "LCD")  ||  /* ... but fglrx uses "LCD" in some versions.  Shoot me now, kthxbye. */
-       strstr (name, "eDP"))     /* eDP is for internal built-in panel connections */
+       strstr (name, "eDP")  ||    /* eDP is for internal built-in panel connections */
+       strstr (name, "DSI"))
         return TRUE;
 
     return FALSE;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]