Changeset 7a6e6c7 for global.c


Ignore:
Timestamp:
Jun 1, 2010, 1:27:14 AM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
05ca0d8
Parents:
7a70e26
Message:
Use signals for redraw and resize
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    rae11191 r7a6e6c7  
    492492  g->resizepending = 0;
    493493
    494   g->lines = lines;
    495   g->cols = cols;
    496   owl_window_recompute_position(owl_window_get_screen());
     494  owl_global_get_terminal_size(&lines, &cols);
     495  if (lines) g->lines = lines;
     496  if (cols)  g->cols  = cols;
     497  owl_window_resize(owl_window_get_screen(), g->lines, g->cols);
    497498
    498499  owl_function_debugmsg("New size is %i lines, %i cols.", g->lines, g->cols);
Note: See TracChangeset for help on using the changeset viewer.