? callbacks.c.NEW
? callbacks.c.OLD
? callbacks.c.SAVE
? gok-spy.c.NEW
? gok.errs
? keyboard-geometry
? main.c.NEW
cvs server: Diffing .
Index: callbacks.c
===================================================================
RCS file: /cvs/gnome/gok/gok/callbacks.c,v
retrieving revision 1.42
diff -u -p -r1.42 callbacks.c
--- callbacks.c	23 Jul 2003 13:12:53 -0000	1.42
+++ callbacks.c	6 Aug 2003 08:37:47 -0000
@@ -126,9 +126,7 @@ gok_discard_focus_filter (GdkXEvent *xev
                 has_focus = TRUE;
             }
         }
-      if (n_mapped <= 1)
-        XSetInputFocus (xev->xany.display, PointerRoot, RevertToPointerRoot, CurrentTime);
-      else if (!has_focus)
+      if (!has_focus && n_mapped > 1)
         XSetInputFocus (xev->xany.display, GDK_WINDOW_XID (GTK_WIDGET (window)->window), RevertToPointerRoot, CurrentTime);
 
       g_list_free (list);
Index: gok-spy.c
===================================================================
RCS file: /cvs/gnome/gok/gok/gok-spy.c,v
retrieving revision 1.83
diff -u -p -r1.83 gok-spy.c
--- gok-spy.c	25 Jul 2003 20:20:56 -0000	1.83
+++ gok-spy.c	6 Aug 2003 08:37:47 -0000
@@ -1275,6 +1275,7 @@ gok_spy_window_deactivate_listener(const
 	EventNode *en;
 	gok_log_enter ();
 
+        g_print ("At %d in %s %p\n", __LINE__, __FILE__, event->source);
 	gok_spy_accessible_ref (event->source);
 	en = (EventNode*)g_malloc (sizeof (EventNode));
 	en->paccessible = event->source;
