From d69d9185808fa3ce5dc85cca65efa07c0b0ca4c5 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 13 Jul 2021 12:47:02 -0600 Subject: [PATCH] slightly extend debug trace output --- gtk2_ardour/ardour_ui_keys.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/ardour_ui_keys.cc b/gtk2_ardour/ardour_ui_keys.cc index da1fed3aed..53760fd432 100644 --- a/gtk2_ardour/ardour_ui_keys.cc +++ b/gtk2_ardour/ardour_ui_keys.cc @@ -201,7 +201,7 @@ ARDOUR_UI::key_press_focus_accelerator_handler (Gtk::Window& window, GdkEventKey Gtkmm2ext::Bindings* focus_bindings = get_bindings_from_widget_heirarchy (&focus); if (focus_bindings) { - DEBUG_TRACE (DEBUG::Accelerators, string_compose ("\tusing widget bindings %1 @ %2 for this event\n", focus_bindings->name(), focus_bindings)); + DEBUG_TRACE (DEBUG::Accelerators, string_compose ("\tusing widget (%3) bindings %1 @ %2 for this event\n", focus_bindings->name(), focus_bindings, gtk_widget_get_name (focus))); if (focus_bindings->activate (k, Bindings::Press)) { return true; } @@ -260,7 +260,7 @@ ARDOUR_UI::key_press_focus_accelerator_handler (Gtk::Window& window, GdkEventKey Gtkmm2ext::Bindings* focus_bindings = get_bindings_from_widget_heirarchy (&focus); if (focus_bindings) { - DEBUG_TRACE (DEBUG::Accelerators, string_compose ("\tusing widget bindings %1 @ %2 for this event\n", focus_bindings->name(), focus_bindings)); + DEBUG_TRACE (DEBUG::Accelerators, string_compose ("\tusing widget (%3) bindings %1 @ %2 for this event\n", focus_bindings->name(), focus_bindings, gtk_widget_get_name (focus))); if (focus_bindings->activate (k, Bindings::Press)) { return true; }