From dbcd78cf713ab7e801080c52deb11c1fc67b5af7 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 25 Mar 2020 13:18:58 -0600 Subject: [PATCH] more playhead-drag/click locate debugging --- gtk2_ardour/editor_canvas_events.cc | 4 +++- gtk2_ardour/editor_mouse.cc | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_canvas_events.cc b/gtk2_ardour/editor_canvas_events.cc index acf00fdfdb..f098e40df6 100644 --- a/gtk2_ardour/editor_canvas_events.cc +++ b/gtk2_ardour/editor_canvas_events.cc @@ -1106,7 +1106,9 @@ Editor::canvas_meter_bar_event (GdkEvent *event, ArdourCanvas::Item* item) bool Editor::canvas_playhead_cursor_event (GdkEvent *event, ArdourCanvas::Item* item) { - return typed_event (item, event, PlayheadCursorItem); + bool ret = typed_event (item, event, PlayheadCursorItem); + cerr << " playhead cursor event, ret was " << ret << endl; + return ret; } bool diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc index 2af7bdbb29..7183f96089 100644 --- a/gtk2_ardour/editor_mouse.cc +++ b/gtk2_ardour/editor_mouse.cc @@ -1653,6 +1653,7 @@ Editor::button_release_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemT switch (item_type) { /* see comments in button_press_handler */ case PlayheadCursorItem: + std::cerr << "in middle of playhead cursor event handler\n"; case MarkerItem: case GainLineItem: case AutomationLineItem: