[gnome-settings-daemon] wacom: Add more debug when changing the area



commit 859f4299d1b8796903c7483b242f99171f1fbd47
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Oct 8 19:33:32 2013 +0200

    wacom: Add more debug when changing the area

 plugins/wacom/gsd-wacom-manager.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/plugins/wacom/gsd-wacom-manager.c b/plugins/wacom/gsd-wacom-manager.c
index 624eb64..1e3d202 100644
--- a/plugins/wacom/gsd-wacom-manager.c
+++ b/plugins/wacom/gsd-wacom-manager.c
@@ -332,9 +332,19 @@ set_area (GsdWacomDevice  *device,
                 gint *area;
                 area = gsd_wacom_device_get_default_area (device);
                 property.data.i = area;
+                g_debug ("Resetting area to: %d, %d, %d, %d",
+                         property.data.i[0],
+                         property.data.i[1],
+                         property.data.i[2],
+                         property.data.i[3]);
                 wacom_set_property (device, &property);
                 g_free (area);
         } else {
+                g_debug ("Setting area to: %d, %d, %d, %d",
+                         property.data.i[0],
+                         property.data.i[1],
+                         property.data.i[2],
+                         property.data.i[3]);
                 wacom_set_property (device, &property);
         }
 }


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