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



commit 7a6968cb46033b39023788d02c2c6ea8e8fd7e27
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.
    
    http://bugzilla.gnome.org/show_bug.cgi?id=591913
    
    (Metacity commit 92bfe34716687a8fcee34c84b80bef1a10035564)

 src/core/display.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/core/display.c b/src/core/display.c
index c84673b..e717eb4 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -4539,7 +4539,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]