From 604dd4fe64c4c4e6fde88e29d08479c0638e9b09 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 20 Nov 2011 17:43:23 +0000 Subject: [PATCH] show focus window in accels debugging git-svn-id: svn://localhost/ardour2/branches/3.0@10711 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/utils.cc | 5 +++-- 1 file 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: