Index: callbacks.c
===================================================================
RCS file: /cvs/gnome/gok/gok/callbacks.c,v
retrieving revision 1.39
diff -u -p -r1.39 callbacks.c
--- callbacks.c	9 Jun 2003 23:03:47 -0000	1.39
+++ callbacks.c	22 Jul 2003 11:07:43 -0000
@@ -109,6 +109,7 @@ gok_discard_focus_filter (GdkXEvent *xev
       (Atom) xev->xclient.data.l[0] == gdk_x11_atom_to_xatom (
 	      gdk_atom_intern ("WM_TAKE_FOCUS", False)))
     {
+      XSetInputFocus (xev->xany.display, PointerRoot, RevertToPointerRoot, CurrentTime);
       return GDK_FILTER_REMOVE;
     }
   else
