diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-11-02 08:54:12 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-11-02 08:57:58 -0500 |
commit | e4e6f001036102aab8bee42516335ea236aa9644 (patch) | |
tree | fad932492ac6dd8cca53519c4358bc3bb78570b0 /gtk2_ardour/utils.cc | |
parent | bb4e3a2916ce751ed97bdf2fea1a3ec54a9c1337 (diff) |
slightly increased debugging output for -D accelerators
Diffstat (limited to 'gtk2_ardour/utils.cc')
-rw-r--r-- | gtk2_ardour/utils.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/utils.cc b/gtk2_ardour/utils.cc index 8011f6abfd..171fc631d5 100644 --- a/gtk2_ardour/utils.cc +++ b/gtk2_ardour/utils.cc @@ -483,14 +483,15 @@ ARDOUR_UI_UTILS::key_press_focus_accelerator_handler (Gtk::Window& window, GdkEv #endif - DEBUG_TRACE (DEBUG::Accelerators, string_compose ("Win = %1 focus = %7 Key event: code = %2 state = %3 special handling ? %4 magic widget focus ? %5 allow_activation ? %6\n", + DEBUG_TRACE (DEBUG::Accelerators, string_compose ("Win = %1 focus = %7 (%8) Key event: code = %2 state = %3 special handling ? %4 magic widget focus ? %5 allow_activation ? %6\n", win, ev->keyval, ev->state, special_handling_of_unmodified_accelerators, Keyboard::some_magic_widget_has_focus(), allow_activating, - focus)); + focus, + (focus ? gtk_widget_get_name (focus) : "no focus widget"))); /* This exists to allow us to override the way GTK handles key events. The normal sequence is: |