Changeset 4cca591 for popexec.c


Ignore:
Timestamp:
Mar 11, 2010, 9:36:40 PM (15 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:
8830df47
Parents:
2ee9e8d
git-author:
David Benjamin <davidben@mit.edu> (03/09/10 16:47:48)
git-committer:
David Benjamin <davidben@mit.edu> (03/11/10 21:36:40)
Message:
Drop doupdate call in owl_viewwin_redisplay

Instead, set refresh flag and let the main loop take care of it.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • popexec.c

    rb928b3a r4cca591  
    3131                        owl_popwin_get_lines(pw), owl_popwin_get_cols(pw),
    3232                        "");
    33   owl_viewwin_redisplay(v, 0);
     33  owl_viewwin_redisplay(v);
    3434  owl_global_set_needrefresh(&g);
    3535  owl_viewwin_set_onclose_hook(v, owl_popexec_viewwin_onclose, pe);
     
    110110    if (pe->winactive) {
    111111      owl_viewwin_append_text(pe->vwin, "\n");
    112       owl_viewwin_redisplay(pe->vwin, 1);
     112      owl_viewwin_redisplay(pe->vwin);
     113      owl_global_set_needrefresh(&g);
    113114    }
    114115    owl_select_remove_io_dispatch(d);
     
    136137  if (pe->winactive) {
    137138    owl_viewwin_append_text(pe->vwin, buf);
    138     owl_viewwin_redisplay(pe->vwin, 1);
     139    owl_viewwin_redisplay(pe->vwin);
     140    owl_global_set_needrefresh(&g);
    139141  }
    140142  owl_free(buf);
Note: See TracChangeset for help on using the changeset viewer.