summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-04-13 12:34:59 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-04-13 13:00:04 -0400
commitea17875c36a0f480069db5f5456d9a7eaf2b3fd7 (patch)
tree396c6db841a08e2a8009a2c87f7ac39a6b070bda
parentb7768becb5b0cdae32e0e810d347d979eae1045a (diff)
show window title in DEBUG::Accelerator debug trace
-rw-r--r--gtk2_ardour/ardour_ui.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc
index fe9a5c3713..39bdc9280a 100644
--- a/gtk2_ardour/ardour_ui.cc
+++ b/gtk2_ardour/ardour_ui.cc
@@ -5400,7 +5400,7 @@ ARDOUR_UI::key_press_focus_accelerator_handler (Gtk::Window& window, GdkEventKey
}
}
- DEBUG_TRACE (DEBUG::Accelerators, string_compose ("Win = %1 focus = %7 (%8) Key event: code = %2 state = %3 special handling ? %4 magic widget focus ? %5 focus widget %6 named %7 mods ? %8\n",
+ DEBUG_TRACE (DEBUG::Accelerators, string_compose ("Win = %1 [title = %9] focus = %7 (%8) Key event: code = %2 state = %3 special handling ? %4 magic widget focus ? %5 focus widget %6 named %7 mods ? %8\n",
win,
ev->keyval,
show_gdk_event_state (ev->state),
@@ -5408,7 +5408,8 @@ ARDOUR_UI::key_press_focus_accelerator_handler (Gtk::Window& window, GdkEventKey
Keyboard::some_magic_widget_has_focus(),
focus,
(focus ? gtk_widget_get_name (focus) : "no focus widget"),
- ((ev->state & mask) ? "yes" : "no")));
+ ((ev->state & mask) ? "yes" : "no"),
+ window.get_title()));
/* This exists to allow us to override the way GTK handles
key events. The normal sequence is: