summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Taylor <rob.taylor@codethink.co.uk>2007-09-23 18:23:56 +0100
committerRob Taylor <rob.taylor@codethink.co.uk>2007-09-23 18:23:56 +0100
commite71617dab0bbd728cc4e8c736fecef934f108041 (patch)
tree353973313e51026e55a2adb0ae04a77e4b918f97
parentb95316f6a8a7e30d009851ff7babb65deea427f5 (diff)
libidletime: debug output for counter value on timeouts
-rw-r--r--libidletime/libidletime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libidletime/libidletime.c b/libidletime/libidletime.c
index 1c95508..2a0775b 100644
--- a/libidletime/libidletime.c
+++ b/libidletime/libidletime.c
@@ -240,6 +240,7 @@ idletime_x_event_filter (GdkXEvent *gdkxevent, GdkEvent *event, gpointer data)
/* save the last state we triggered */
idletime->priv->last_event = alarm->id;
+ g_debug ("%s: alarm %d fired, idle time = %lld", G_STRFUNC, alarm->id, xsyncvalue_to_int64(&alarm_event->counter_value));
/* do the signal */
if (alarm->id != 0) {
idletime_timeout (idletime, alarm);