From 9e2b796e77c7143cc3ff1d68f8f35a6b0858856c Mon Sep 17 00:00:00 2001 From: Cemil Azizoglu Date: Thu, 15 Oct 2015 12:11:36 -0500 Subject: [PATCH] mir: Print hscroll and vscroll values when debugging. Signed-off-by: William Hua --- gdk/mir/gdkmir-debug.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdk/mir/gdkmir-debug.c b/gdk/mir/gdkmir-debug.c index 6a2bc18e1b..83551674b7 100644 --- a/gdk/mir/gdkmir-debug.c +++ b/gdk/mir/gdkmir-debug.c @@ -195,6 +195,8 @@ _gdk_mir_print_motion_event (const MirInputEvent *event) g_printerr ("\n"); g_printerr (" Offset (%f, %f)\n", mir_pointer_event_axis_value (pointer_event, mir_pointer_axis_x), mir_pointer_event_axis_value (pointer_event, mir_pointer_axis_y)); + g_printerr (" Scroll (%f, %f)\n", mir_pointer_event_axis_value (pointer_event, mir_pointer_axis_hscroll), + mir_pointer_event_axis_value (pointer_event, mir_pointer_axis_vscroll)); g_printerr (" Event Time %lli\n", (long long int) mir_input_event_get_event_time (event)); }