summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2014-05-16 11:01:36 +0200
committerBastien Nocera <hadess@hadess.net>2014-07-02 16:33:11 +0200
commit9feb9edee94eabdbc0e546d794b9dcef982b4ba3 (patch)
tree345c70fddd9dc32fc360f3ad5475e146cd78c8ac
parent7eed5ac93ccb7f990d89ca3368645ee8381f265c (diff)
downloadgnome-desktop-9feb9edee94eabdbc0e546d794b9dcef982b4ba3.tar.gz
gnome-rr: Add backlight output in debug
-rw-r--r--libgnome-desktop/gnome-rr-debug.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/libgnome-desktop/gnome-rr-debug.c b/libgnome-desktop/gnome-rr-debug.c
index 6d808cb0..3ea4b57d 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