Changeset 7285db4


Ignore:
Timestamp:
May 3, 2010, 7:58:33 PM (14 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
release-1.6
Children:
774f439
Parents:
cef53f9
git-author:
Anders Kaseorg <andersk@mit.edu> (04/27/10 16:41:34)
git-committer:
Nelson Elhage <nelhage@mit.edu> (05/03/10 19:58:33)
Message:
Clear the resizepending flag before doing a resize, not after.

This prevents us from losing resize events that occur during a resize
operation.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Nelson Elhage <nelhage@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    r98d296d r7285db4  
    472472   
    473473  if (!g->resizepending) return;
     474  g->resizepending = 0;
    474475
    475476  if (!isendwin()) {
     
    526527  owl_function_debugmsg("New size is %i lines, %i cols.", size.ws_row, size.ws_col);
    527528  owl_function_makemsg("");
    528   g->resizepending=0;
    529529}
    530530
Note: See TracChangeset for help on using the changeset viewer.