Author: Andrew Zabolotny <zap@homelink.ru>
Date:   Sun Feb  8 21:49:57 MSK 2009

Do not add windows demanding attention to the head of the Alt+Tab window list,
because:

 * Metacity cannot switch to windows on different workspaces
 * Inserting windows at the beginning of the list makes Alt+Tab
   to behave unpredictably.

diff -ur metacity-2.24.0.orig/src/core/display.c metacity-2.24.0/src/core/display.c
--- metacity-2.24.0.orig/src/core/display.c	2009-02-08 21:45:20.000000000 +0300
+++ metacity-2.24.0/src/core/display.c	2009-02-08 21:49:09.000000000 +0300
@@ -4440,29 +4440,6 @@
   }
 
   tab_list = g_list_reverse (tab_list);
-
-  {
-    GSList *tmp;
-    MetaWindow *l_window;
-
-    tmp = meta_display_list_windows (display);
-
-    /* Go through all windows */
-    while (tmp != NULL)
-      {
-        l_window=tmp->data;
-
-        /* Check to see if it demands attention */
-        if (l_window->wm_state_demands_attention && 
-            l_window->workspace!=workspace) 
-          {
-            /* if it does, add it to the popup */
-            tab_list = g_list_prepend (tab_list, l_window);
-          }
-
-        tmp = tmp->next;
-      } /* End while tmp!=NULL */
-  }
   
   return tab_list;
 }
