mir: Print hscroll and vscroll values when debugging.

Signed-off-by: William Hua <william.hua@canonical.com>
This commit is contained in:
Cemil Azizoglu 2015-10-15 12:11:36 -05:00 committed by William Hua
parent 5c53e873b1
commit 9e2b796e77

View File

@ -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));
}