[mutter: 5/209] Only skip the first window in the alt-tab chain if it's actually the



commit 92bfe34716687a8fcee34c84b80bef1a10035564
Author: Thomas James Alexander Thurman <tthurman src gnome org>
Date:   Sat Feb 7 23:05:42 2009 +0000

    Only skip the first window in the alt-tab chain if it's actually the
    
    	* src/core/display.c: Only skip the first window in
            the alt-tab chain if it's actually the current window
            (urgent windows on other workspaces may precede it).
            Fixes #535887.
    
    
    svn path=/trunk/; revision=4121

 ChangeLog          |    7 +++++++
 src/core/display.c |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 039ac35..9c33d72 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-02-07  Matt Kraai  <kraai ftfbs org>
+
+	* src/core/display.c: Only skip the first window in
+        the alt-tab chain if it's actually the current window
+        (urgent windows on other workspaces may precede it).
+        Fixes #535887.
+
 2009-02-05  Thomas Thurman  <tthurman gnome org>
 
         Lines where x1==x2 or y1==y2 may have the second element
diff --git a/src/core/display.c b/src/core/display.c
index cd56da8..91ca5f1 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -4484,7 +4484,7 @@ meta_display_get_tab_next (MetaDisplay   *display,
   else
     {
       skip = display->focus_window != NULL && 
-             IN_TAB_CHAIN (display->focus_window, type);
+             tab_list->data == display->focus_window;
       if (backward)
         ret = find_tab_backward (display, type, screen, workspace,
                                  tab_list, skip);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]