Hmmm. Fix pager update for offscreen windows.

SVN revision: 10831
This commit is contained in:
Kim Woelders 2004-07-14 16:00:37 +00:00
parent ec67699a5d
commit c4f82316ce
1 changed files with 2 additions and 2 deletions

View File

@ -738,7 +738,7 @@ PagerRedraw(Pager * p, char newbg)
int wx, wy, ww, wh;
ewin = lst[i];
if (!ewin->iconified && EwinIsMapped(ewin))
if (!ewin->iconified && ewin->shown)
{
wx = ((ewin->x + (cx * VRoot.w)) * (p->w / ax)) / VRoot.w;
wy = ((ewin->y + (cy * VRoot.h)) * (p->h / ay)) / VRoot.h;
@ -920,7 +920,7 @@ EwinInPagerAt(Pager * p, int x, int y)
EWin *ewin;
ewin = lst[i];
if (!ewin->iconified && EwinIsMapped(ewin))
if (!ewin->iconified && ewin->shown)
{
wx = ((ewin->x + (cx * VRoot.w)) * (p->w / ax)) / VRoot.w;
wy = ((ewin->y + (cy * VRoot.h)) * (p->h / ay)) / VRoot.h;