Changeset f449096


Ignore:
Timestamp:
Mar 11, 2010, 9:37:07 PM (14 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.10, release-1.6, release-1.7, release-1.8, release-1.9
Children:
dfe94f9
Parents:
03c5bdd
git-author:
David Benjamin <davidben@mit.edu> (03/09/10 17:01:01)
git-committer:
David Benjamin <davidben@mit.edu> (03/11/10 21:37:07)
Message:
Drop calls to update_panels outside main loop

One call is sufficient. Also, it doesn't do anything without a doupdate
anyway.
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    r2ee9e8d rf449096  
    26622662  owl_editwin_fullclear(e);
    26632663  owl_global_set_needrefresh(&g);
    2664   update_panels();
    26652664  owl_global_set_typwin_inactive(&g);
    26662665  owl_editwin_new_style(e, OWL_EDITWIN_STYLE_ONELINE, NULL);
     
    27302729  owl_free(cmd);
    27312730
    2732   update_panels();
    27332731  owl_global_set_needrefresh(&g);
    27342732
     
    27472745  owl_global_pop_context(&g);
    27482746  owl_editwin_fullclear(e);
    2749   update_panels();
    27502747  owl_global_set_needrefresh(&g);
    27512748}
     
    27652762  owl_global_pop_context(&g);
    27662763  owl_global_set_needrefresh(&g);
    2767   update_panels();
    27682764}
    27692765
  • editwin.c

    r2ee9e8d rf449096  
    565565  wmove(e->curswin, y, x);
    566566  e->cursorx = x;
    567 
    568   update_panels();
    569567}
    570568
  • functions.c

    r8830df47 rf449096  
    215215  /* redisplay etc. */
    216216  owl_mainwin_redisplay(owl_global_get_mainwin(&g));
    217   update_panels();
    218217  owl_global_set_needrefresh(&g);
    219218}
     
    12621261  if (g.lines >= 2)
    12631262      redrawwin(owl_global_get_curs_msgwin(&g));
    1264 
    1265   update_panels();
    12661263
    12671264  sepbar("");
     
    33913388  owl_function_debugmsg("makemsg: %s", buff);
    33923389  waddstr(owl_global_get_curs_msgwin(&g), buff); 
    3393   update_panels();
    33943390  owl_global_set_needrefresh(&g);
    33953391  va_end(ap);
  • mainwin.c

    r8ae2de9 rf449096  
    4343    mw->curtruncated=0;
    4444    mw->lastdisplayed=-1;
    45     update_panels();
    4645    owl_global_set_needrefresh(&g);
    4746    return;
     
    141140  mw->lastdisplayed=i-1;
    142141
    143   update_panels();
    144142  owl_global_set_needrefresh(&g);
    145143}
  • owl.c

    rd64f963 rf449096  
    625625    /* update the terminal if we need to */
    626626    if (owl_global_is_needrefresh(&g)) {
    627       /* ensure that panels are clean, so that set_cursor doesn't break things */
     627      /* push all changed windows to screen */
    628628      update_panels();
    629629      /* leave the cursor in the appropriate window */
  • popwin.c

    r03c5bdd rf449096  
    4949  }
    5050   
    51   update_panels();
    5251  owl_global_set_needrefresh(&g);
    5352  pw->active=1;
  • util.c

    r46d940a rf449096  
    120120  wattroff(sepwin, A_BOLD);
    121121  wattroff(sepwin, A_REVERSE);
    122   update_panels();
    123122}
    124123
  • viewwin.c

    r4cca591 rf449096  
    8888  }
    8989  wattroff(v->curswin, A_REVERSE);
    90   update_panels();
    9190
    9291  owl_fmtext_cleanup(&fm1);
Note: See TracChangeset for help on using the changeset viewer.