From 92bfe34716687a8fcee34c84b80bef1a10035564 Mon Sep 17 00:00:00 2001 From: Thomas James Alexander Thurman Date: Sat, 7 Feb 2009 23:05:42 +0000 Subject: [PATCH] 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 deletion(-) diff --git a/ChangeLog b/ChangeLog index 039ac35a2..9c33d7216 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-02-07 Matt Kraai + + * 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 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 cd56da841..91ca5f168 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);