[libdazzle] shortcuts: add more debugging



commit f2c788627fde126348038d5711220e082df21f96
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jul 20 00:28:49 2017 -0700

    shortcuts: add more debugging

 src/shortcuts/dzl-shortcut-controller.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/shortcuts/dzl-shortcut-controller.c b/src/shortcuts/dzl-shortcut-controller.c
index 1d7b06f..58b35e8 100644
--- a/src/shortcuts/dzl-shortcut-controller.c
+++ b/src/shortcuts/dzl-shortcut-controller.c
@@ -913,6 +913,8 @@ _dzl_shortcut_controller_handle (DzlShortcutController  *self,
       !gtk_widget_is_sensitive (priv->widget))
     DZL_RETURN (DZL_SHORTCUT_MATCH_NONE);
 
+  DZL_TRACE_MSG ("widget = %s, phase = %d", G_OBJECT_TYPE_NAME (priv->widget), phase);
+
   /* Try to dispatch our capture global shortcuts first */
   if (phase == (DZL_SHORTCUT_PHASE_CAPTURE | DZL_SHORTCUT_PHASE_GLOBAL) &&
       dzl_shortcut_controller_is_root (self))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]