forked from e16/e16
1
0
Fork 0

Fix pager updates - optimize later?.

SVN revision: 14989
This commit is contained in:
Kim Woelders 2005-05-28 14:33:45 +00:00
parent a49c866d84
commit 61110ad5e3
1 changed files with 5 additions and 1 deletions

View File

@ -699,7 +699,8 @@ PagerCheckUpdate(Pager * p)
{
if (p->do_redraw)
doPagerRedraw(p);
if (p->do_update)
/* FIXME - We should update only if current area has changed. */
if (p->do_redraw || p->do_update)
doPagerUpdate(p);
}
else
@ -779,6 +780,9 @@ PagersUpdateEwin(EWin * ewin, int gone)
if (!Conf.pagers.enable)
return;
#if 1 /* FIXME - Can be optimized - Later */
gone = 1;
#endif
if (gone)
{
RedrawPagersForDesktop(EoGetDesk(ewin));