[gtk+] xi2: Add some more debug output about scroll devices
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] xi2: Add some more debug output about scroll devices
- Date: Sat, 3 Mar 2012 04:02:44 +0000 (UTC)
commit 9687ac33b8920d392ca4deb882287d9938d24c58
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Mar 2 22:53:03 2012 -0500
xi2: Add some more debug output about scroll devices
gdk/x11/gdkdevicemanager-xi2.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gdk/x11/gdkdevicemanager-xi2.c b/gdk/x11/gdkdevicemanager-xi2.c
index d1e6b3b..b4a0256 100644
--- a/gdk/x11/gdkdevicemanager-xi2.c
+++ b/gdk/x11/gdkdevicemanager-xi2.c
@@ -246,6 +246,13 @@ translate_device_classes (GdkDisplay *display,
else
direction = GDK_SCROLL_RIGHT;
+ GDK_NOTE (INPUT,
+ g_message ("\n\tscroll valuator %d: %s",
+ scroll_info->number,
+ scroll_info->scroll_type == XIScrollTypeVertical
+ ? "vertical"
+ : "horizontal"));
+
_gdk_x11_device_xi2_add_scroll_valuator (GDK_X11_DEVICE_XI2 (device),
scroll_info->number,
direction);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]