[gnome-desktop] gnome-rr: Add backlight output in debug



commit 5f9410a19d7b322c57746ffbffb24e7951ebaaf5
Author: Bastien Nocera <hadess hadess net>
Date:   Fri May 16 11:01:36 2014 +0200

    gnome-rr: Add backlight output in debug

 libgnome-desktop/gnome-rr-debug.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/libgnome-desktop/gnome-rr-debug.c b/libgnome-desktop/gnome-rr-debug.c
index 6d808cb..3ea4b57 100644
--- a/libgnome-desktop/gnome-rr-debug.c
+++ b/libgnome-desktop/gnome-rr-debug.c
@@ -41,7 +41,11 @@ print_output (GnomeRROutput *output, const char *message)
        g_print ("\tprimary: %i\n", gnome_rr_output_get_is_primary (output));
        g_print ("\tid: %i\n", gnome_rr_output_get_id (output));
        gnome_rr_output_get_physical_size (output, &width_mm, &height_mm);
-       g_print ("\tdimensions: %ix%i", width_mm, height_mm);
+       g_print ("\tdimensions: %ix%i\n", width_mm, height_mm);
+       g_print ("\tbacklight: %i (min step: %i)\n",
+                gnome_rr_output_get_backlight (output),
+                gnome_rr_output_get_min_backlight_step (output));
+
 
        /* get EDID */
         result = gnome_rr_output_get_edid_data (output, &len);
@@ -50,6 +54,8 @@ print_output (GnomeRROutput *output, const char *message)
                         len, result[0], result[1],
                         result[2], result[3]);
        }
+
+       g_print ("\n");
 }
 
 static void


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