diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2015-10-03 21:54:50 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2015-10-06 13:29:57 +1000 |
commit | 1c0265e27c315d94cbbfc963ff153194fc4d6548 (patch) | |
tree | b093dadac0b9dadbbdfe0eb53e48d945298c2ba3 /libs/canvas | |
parent | 34d9b2148ebf834267821bf9c437e520b4eb05d7 (diff) |
Include button number in canvas button press/release debug info
Diffstat (limited to 'libs/canvas')
-rw-r--r-- | libs/canvas/canvas.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/canvas/canvas.cc b/libs/canvas/canvas.cc index c6c4aed20c..0fcac6a317 100644 --- a/libs/canvas/canvas.cc +++ b/libs/canvas/canvas.cc @@ -914,7 +914,7 @@ GtkCanvas::on_button_press_event (GdkEventButton* ev) for scroll if this GtkCanvas is in a GtkCanvasViewport. */ - DEBUG_TRACE (PBD::DEBUG::CanvasEvents, string_compose ("canvas button press @ %1, %2 => %3\n", ev->x, ev->y, where)); + DEBUG_TRACE (PBD::DEBUG::CanvasEvents, string_compose ("canvas button press %1 @ %2, %3 => %4\n", ev->button, ev->x, ev->y, where)); return deliver_event (reinterpret_cast<GdkEvent*>(©)); } @@ -940,7 +940,7 @@ GtkCanvas::on_button_release_event (GdkEventButton* ev) for scroll if this GtkCanvas is in a GtkCanvasViewport. */ - DEBUG_TRACE (PBD::DEBUG::CanvasEvents, string_compose ("canvas button release @ %1, %2 => %3\n", ev->x, ev->y, where)); + DEBUG_TRACE (PBD::DEBUG::CanvasEvents, string_compose ("canvas button release %1 @ %2, %3 => %4\n", ev->button, ev->x, ev->y, where)); return deliver_event (reinterpret_cast<GdkEvent*>(©)); } |