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
This commit is contained in:
Thomas James Alexander Thurman 2009-02-07 23:05:42 +00:00
parent 5df096baf3
commit 92bfe34716
2 changed files with 8 additions and 1 deletions

View File

@ -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> 2009-02-05 Thomas Thurman <tthurman@gnome.org>
Lines where x1==x2 or y1==y2 may have the second element Lines where x1==x2 or y1==y2 may have the second element

View File

@ -4484,7 +4484,7 @@ meta_display_get_tab_next (MetaDisplay *display,
else else
{ {
skip = display->focus_window != NULL && skip = display->focus_window != NULL &&
IN_TAB_CHAIN (display->focus_window, type); tab_list->data == display->focus_window;
if (backward) if (backward)
ret = find_tab_backward (display, type, screen, workspace, ret = find_tab_backward (display, type, screen, workspace,
tab_list, skip); tab_list, skip);