Changeset 8d0796c0


Ignore:
Timestamp:
Apr 7, 2009, 11:41:21 AM (15 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
owl
Parents:
d1948ce
Message:
revert all of owl_global_resize to 2.1.11 behavior
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    rd1948ce r8d0796c0  
    332.2.2
    44        2.1.12 included a patch that breaks opaque resizing for some
    5            versions of ncurses on solaris.  Reverting that part of the
    6            change to fix.
     5           versions of ncurses on solaris.  Reverting to the original
     6           behavior for now and will reincorporate in a future release.
    77
    882.2.1
  • global.c

    rd1948ce r8d0796c0  
    401401  }
    402402
     403  refresh();
     404
    403405  /* get the new size */
    404406  ioctl(STDIN_FILENO, TIOCGWINSZ, &size);
     
    415417  }
    416418
    417 #ifdef HAVE_RESIZETERM
    418419  resizeterm(size.ws_row, size.ws_col);
    419 #endif
    420   refresh();
    421420
    422421  /* re-initialize the windows */
     
    425424  /* in case any styles rely on the current width */
    426425  owl_messagelist_invalidate_formats(owl_global_get_msglist(g));
    427 
    428   /* recalculate the topmsg to make sure the current message is on
    429    * screen */
    430   owl_function_calculate_topmsg(OWL_DIRECTION_NONE);
    431426
    432427  /* refresh stuff */
     
    434429  owl_mainwin_redisplay(&(g->mw));
    435430  sepbar(NULL);
    436   owl_editwin_redisplay(&(g->tw), 0);
    437   owl_function_full_redisplay(&g);
    438 
     431
     432  if (owl_global_is_typwin_active(g)) {
     433    owl_editwin_redisplay(&(g->tw), 0);
     434  }     
    439435  /* TODO: this should handle other forms of popwins */
    440436  if (owl_popwin_is_active(owl_global_get_popwin(g))
Note: See TracChangeset for help on using the changeset viewer.