Changeset ec9746d


Ignore:
Timestamp:
Mar 25, 2011, 3:55:41 AM (13 years ago)
Author:
David Benjamin <davidben@mit.edu>
Children:
f578d18
Parents:
25f7c57
git-author:
David Benjamin <davidben@mit.edu> (03/03/11 10:27:16)
git-committer:
David Benjamin <davidben@mit.edu> (03/25/11 03:55:41)
Message:
resizepending needn't be sig_atomic_t anymore

Life is so much easier when signals don't happen whenever they feel like
it.
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • global.c

    r0af5f9d rec9746d  
    352352
    353353void owl_global_set_resize_pending(owl_global *g) {
    354   g->resizepending=1;
     354  g->resizepending = true;
    355355}
    356356
     
    452452  /* resize the screen.  If lines or cols is 0 use the terminal size */
    453453  if (!g->resizepending) return;
    454   g->resizepending = 0;
     454  g->resizepending = false;
    455455
    456456  owl_global_get_terminal_size(&g->lines, &g->cols);
  • owl.h

    r2314693 rec9746d  
    585585  gulong typwin_erase_id;
    586586  int rightshift;
    587   volatile sig_atomic_t resizepending;
     587  bool resizepending;
    588588  char *homedir;
    589589  char *confdir;
Note: See TracChangeset for help on using the changeset viewer.