summaryrefslogtreecommitdiff
path: root/gtk2_ardour/utils.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-11-20 17:43:23 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-11-20 17:43:23 +0000
commit604dd4fe64c4c4e6fde88e29d08479c0638e9b09 (patch)
tree630505e2c5657924129fa5ba8b25aa7e23b0686b /gtk2_ardour/utils.cc
parent957c0aec4fcb4f4e44d7eedcb2942326c52d69cd (diff)
show focus window in accels debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@10711 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/utils.cc')
-rw-r--r--gtk2_ardour/utils.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/utils.cc b/gtk2_ardour/utils.cc
index b19e43fe7c..f2e774740d 100644
--- a/gtk2_ardour/utils.cc
+++ b/gtk2_ardour/utils.cc
@@ -550,13 +550,14 @@ key_press_focus_accelerator_handler (Gtk::Window& window, GdkEventKey* ev)
#endif
- DEBUG_TRACE (DEBUG::Accelerators, string_compose ("Win = %1 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 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));
+ allow_activating,
+ focus));
/* This exists to allow us to override the way GTK handles
key events. The normal sequence is: