Index: src/window.c
===================================================================
RCS file: /cvs/gnome/metacity/src/window.c,v
retrieving revision 1.358
diff -p -u -r1.358 window.c
--- src/window.c	24 Dec 2004 19:40:09 -0000	1.358
+++ src/window.c	26 Dec 2004 23:27:13 -0000
@@ -4198,6 +4198,7 @@ meta_window_notify_focus (MetaWindow *wi
   if ((event->type == FocusIn ||
        event->type == FocusOut) &&
       (event->xfocus.mode == NotifyGrab ||
+       event->xfocus.mode == NotifyWhileGrabbed ||
        event->xfocus.mode == NotifyUngrab ||
        /* From WindowMaker, ignore all funky pointer root events */
        event->xfocus.detail > NotifyNonlinearVirtual))
