summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas James Alexander Thurman <tthurman@src.gnome.org>2009-02-07 23:05:42 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2009-02-07 23:05:42 +0000
commit92bfe34716687a8fcee34c84b80bef1a10035564 (patch)
treefb0378135f5c6848ed272ac4796142d449130b9a
parent5df096baf38030ff8de69626396ed45896085c02 (diff)
downloadmetacity-92bfe34716687a8fcee34c84b80bef1a10035564.tar.gz
metacity-92bfe34716687a8fcee34c84b80bef1a10035564.tar.bz2
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
-rw-r--r--ChangeLog7
-rw-r--r--src/core/display.c2
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);