[gtk+] mir: Print hscroll and vscroll values when debugging.
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] mir: Print hscroll and vscroll values when debugging.
- Date: Mon, 2 Nov 2015 15:46:52 +0000 (UTC)
commit 9e2b796e77c7143cc3ff1d68f8f35a6b0858856c
Author: Cemil Azizoglu <cemil azizoglu canonical com>
Date: Thu Oct 15 12:11:36 2015 -0500
mir: Print hscroll and vscroll values when debugging.
Signed-off-by: William Hua <william hua canonical com>
gdk/mir/gdkmir-debug.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/mir/gdkmir-debug.c b/gdk/mir/gdkmir-debug.c
index 6a2bc18..8355167 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));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]