summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-09-16 22:02:36 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-09-16 22:02:36 -0400
commit710ee36eaa5cb55d02322373e9bbccda8095979a (patch)
tree725cc2356964295469e1137a43d5e9e8174a7626 /libs
parentcb31e34a5ca89bad4b73499de7caa6c31f79423f (diff)
a few DEBUG_TRACE improvements
Diffstat (limited to 'libs')
-rw-r--r--libs/gtkmm2ext/keyboard.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/libs/gtkmm2ext/keyboard.cc b/libs/gtkmm2ext/keyboard.cc
index 5087f61a23..2bfb5fa58b 100644
--- a/libs/gtkmm2ext/keyboard.cc
+++ b/libs/gtkmm2ext/keyboard.cc
@@ -233,8 +233,9 @@ Keyboard::snooper (GtkWidget *widget, GdkEventKey *event)
DEBUG_TRACE (
DEBUG::Keyboard,
string_compose (
- "Snoop widget %1 key %2 type %3 state %4 magic %5\n",
- widget, event->keyval, event->type, event->state, _some_magic_widget_has_focus
+ "Snoop widget %1 name: [%6] key %2 type %3 state %4 magic %5\n",
+ widget, event->keyval, event->type, event->state, _some_magic_widget_has_focus,
+ gtk_widget_get_name (widget)
)
);
@@ -324,6 +325,8 @@ Keyboard::snooper (GtkWidget *widget, GdkEventKey *event)
}
}
+ DEBUG_TRACE (DEBUG::Keyboard, string_compose ("snooper returns %1\n", ret));
+
return ret;
}
@@ -346,6 +349,7 @@ bool
Keyboard::enter_window (GdkEventCrossing *, Gtk::Window* win)
{
current_window = win;
+ DEBUG_TRACE (DEBUG::Keyboard, string_compose ("Entering window, title = %1\n", win->get_title()));
return false;
}