summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadrul Habib Chowdhury <sadrul@users.sourceforge.net>2009-12-01 15:32:14 -0500
committerSadrul Habib Chowdhury <sadrul@users.sourceforge.net>2009-12-01 15:32:14 -0500
commitb9a14d268112b87c77aa2933995028fbfd481e5d (patch)
tree1ce0cc1622dc8367c33c4918b92bb2616db25e06
parentecab862582b966e3eaf1ad98aa75a53b43a8be05 (diff)
downloadscreen-b9a14d268112b87c77aa2933995028fbfd481e5d.tar.gz
Fix a bug in windowlist navigation.
-rw-r--r--src/help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/help.c b/src/help.c
index a6497ce..0f4b6a5 100644
--- a/src/help.c
+++ b/src/help.c
@@ -1005,7 +1005,7 @@ int *plen;
h = wlistdata->pos;
if (h == MAXWIN && Layer2Window(flayer) && Layer2Window(flayer)->w_type == W_TYPE_GROUP)
break;
- if (display && h != MAXWIN && wtab[h] && (wtab[h]->w_type == W_TYPE_GROUP || wtab[h] == D_fore))
+ if (display && h != MAXWIN && wtab[h] && (wtab[h]->w_type == W_TYPE_GROUP) && Layer2Window(flayer) == wtab[h])
{
wlistdata->group = wtab[h];
wlistdata->pos = wtab[h]->w_number;