Changeset f92acd7


Ignore:
Timestamp:
Apr 28, 2010, 2:27:59 PM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
0e3cdf1
Parents:
f7cf6c2
git-author:
David Benjamin <davidben@mit.edu> (04/28/10 13:48:37)
git-committer:
David Benjamin <davidben@mit.edu> (04/28/10 14:27:59)
Message:
Only relayout on widget resizes

We needn't compute a new window size and ask ncurses to resizeterm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    r1cfcab7 rf92acd7  
    15751575{
    15761576  owl_global_set_typwin_lines(&g, newsize);
    1577   owl_function_resize();
     1577  owl_global_set_relayout_pending(&g);
    15781578}
    15791579
  • variable.c

    r66e409c rf92acd7  
    405405  int rv;
    406406  rv = owl_variable_int_set_default(v, newval);
    407   if (0 == rv) owl_function_resize();
     407  if (0 == rv) owl_global_set_relayout_pending(&g);
    408408  return(rv);
    409409}
Note: See TracChangeset for help on using the changeset viewer.