Changeset 8479494


Ignore:
Timestamp:
Apr 27, 2010, 5:21:36 PM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
07f655b
Parents:
7892963
git-author:
Anders Kaseorg <andersk@mit.edu> (04/27/10 16:41:34)
git-committer:
Anders Kaseorg <andersk@mit.edu> (04/27/10 17:21:36)
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

    r7892963 r8479494  
    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.