From 9687ac33b8920d392ca4deb882287d9938d24c58 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 2 Mar 2012 22:53:03 -0500 Subject: [PATCH] xi2: Add some more debug output about scroll devices --- gdk/x11/gdkdevicemanager-xi2.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gdk/x11/gdkdevicemanager-xi2.c b/gdk/x11/gdkdevicemanager-xi2.c index d1e6b3b131..b4a0256563 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);