Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/metacity/ChangeLog,v
retrieving revision 1.486
diff -u -r1.486 ChangeLog
--- ChangeLog	12 Oct 2002 17:44:55 -0000	1.486
+++ ChangeLog	14 Oct 2002 21:45:25 -0000
@@ -1,3 +1,8 @@
+2002-10-14  Federico Mena Quintero  <federico@ximian.com>
+
+	* src/display.c (event_callback): Ignore EnterNotify events when
+	the detail field is set to NotifyInferior.
+
 2002-10-12  Havoc Pennington  <hp@pobox.com>
 
 	* src/metacity.schemas.in: button layout key
Index: src/display.c
===================================================================
RCS file: /cvs/gnome/metacity/src/display.c,v
retrieving revision 1.152
diff -u -r1.152 display.c
--- src/display.c	11 Oct 2002 18:42:40 -0000	1.152
+++ src/display.c	14 Oct 2002 21:45:26 -0000
@@ -1192,7 +1192,8 @@
       break;
     case EnterNotify:
       /* do this even if window->has_focus to avoid races */
-      if (window && !serial_is_ignored (display, event->xany.serial))
+      if (window && !serial_is_ignored (display, event->xany.serial) &&
+	  event->xcrossing.detail != NotifyInferior)
         {
           switch (meta_prefs_get_focus_mode ())
             {
