--- workspace.c-2.12.0-orig	2005-05-28 18:19:15.000000000 -0400
+++ workspace.c	2005-11-07 09:53:30.000000000 -0500
@@ -911,6 +911,7 @@ focus_ancestor_or_mru_window (MetaWorksp
       tmp_window = ((MetaWindow*) tmp->data);
       if (tmp_window != not_this_one           &&
           !tmp_window->minimized               &&
+          !tmp_window->wm_state_demands_attention &&
           tmp_window->type != META_WINDOW_DOCK &&
           tmp_window->type != META_WINDOW_DESKTOP)
         {
