summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Liu <grandpaul@gmail.com>2010-05-08 17:39:28 -0400
committerThomas Thurman <tthurman@gnome.org>2010-05-08 17:39:28 -0400
commit5ddd8199ca1fe05f066bf05b35cd472bb6ff4703 (patch)
tree6a20ed3f66b31e974498fe93e554797e2ffe4d0d /src
parent6ea48d75acf06d5784720b5a7df48263d1bf487a (diff)
downloadmetacity-5ddd8199ca1fe05f066bf05b35cd472bb6ff4703.tar.gz
metacity-5ddd8199ca1fe05f066bf05b35cd472bb6ff4703.tar.bz2
Fix very unlikely crasher. See https://bugzilla.gnome.org/attachment.cgi?id=133411
Diffstat (limited to 'src')
-rw-r--r--src/core/display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/display.c b/src/core/display.c
index f5cbdce..429230d 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -4319,7 +4319,7 @@ find_tab_forward (MetaDisplay *display,
}
tmp = workspace->mru_list;
- while (tmp != start)
+ while (tmp != start && tmp != NULL)
{
MetaWindow *window = tmp->data;