Index: gnopernicus/kbd_mouse/libke/libke.c
===================================================================
RCS file: /cvs/gnome/gnopernicus/kbd_mouse/libke/libke.c,v
retrieving revision 1.64
diff -u -r1.64 libke.c
--- gnopernicus/kbd_mouse/libke/libke.c	2 Aug 2004 15:54:10 -0000	1.64
+++ gnopernicus/kbd_mouse/libke/libke.c	13 Jan 2005 12:29:12 -0000
@@ -695,7 +695,11 @@
     static GQueue  *layer_queue = NULL;
     static gint	    layer_timeout_id = 0;
     KEKeyEvent     *ev;
-    
+
+    static gint cnt = 0;
+    GTimer *timer = g_timer_new ();
+    cnt++;
+    g_timer_start (timer);
     sru_debug ("(Layer)Received key event:\n\tsym %ld (%c)\n\tmods %x\n\tcode %d\n\ttime %ld\n\tkeystring \"%s\"\n\ttype %d (press = %d, release = %d)",
 	      (glong) key->keyID, (gchar)key->keyID,
 	      (guint) key->modifiers,
@@ -823,6 +827,10 @@
     g_queue_free (layer_queue);
     layer_queue = NULL;
     layer_busy = FALSE;
+
+    g_timer_stop (timer);
+    fprintf (stderr, "\n%d-TTTTTTTTTTTT---%f", cnt, g_timer_elapsed (timer, NULL));
+    g_timer_destroy (timer);
   
     return TRUE;
 }
Index: gnopernicus/srlow/libsrlow/SRLow.c
===================================================================
RCS file: /cvs/gnome/gnopernicus/srlow/libsrlow/SRLow.c,v
retrieving revision 1.104.2.7
diff -u -r1.104.2.7 SRLow.c
--- gnopernicus/srlow/libsrlow/SRLow.c	11 Jan 2005 12:23:03 -0000	1.104.2.7
+++ gnopernicus/srlow/libsrlow/SRLow.c	13 Jan 2005 12:29:16 -0000
@@ -1940,9 +1940,16 @@
 {
     static gboolean busy = FALSE;
     SRLEvent *ev;
+    static gint cnt = 0;
 
     srl_assert (event && event->source);
     srl_assert (srl_event_queue);
+
+    cnt++;
+    if (strcmp (event->type, "window:activate") == 0)
+	fprintf (stderr, "\n%d-AAAAAAAAAAAAAA", cnt);
+    else if (strcmp (event->type, "focus:") == 0)
+	fprintf (stderr, "\n%d-FFFFFFFFFFFFFF", cnt);
 
     ev = srle_new ();
     ev->type = GPOINTER_TO_INT (data);
