diff options
author | Matthias Clasen <mclasen@redhat.com> | 2012-03-02 22:53:03 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-03-02 23:02:57 -0500 |
commit | 9687ac33b8920d392ca4deb882287d9938d24c58 (patch) | |
tree | c3ec946198302332de2610f6384c442c1ef5cb95 /gdk | |
parent | 2d1d18b732bedbdec1b75cedf1d6f4987cecab99 (diff) | |
download | gtk+-9687ac33b8920d392ca4deb882287d9938d24c58.tar.gz |
xi2: Add some more debug output about scroll devices
Diffstat (limited to 'gdk')
-rw-r--r-- | 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 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); |