Changeset 4e33cb2 for commands.c


Ignore:
Timestamp:
May 29, 2010, 1:14:57 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
2dfccc7
Parents:
5f7eadf
git-author:
David Benjamin <davidben@mit.edu> (05/27/10 12:18:41)
git-committer:
David Benjamin <davidben@mit.edu> (05/29/10 13:14:57)
Message:
Punt a lot of needrefreshes

Move the actual needrefreshes into the functions actually dealing with
curses. This will, of course, later get moved out of the paint events
and no one will call it. But that's later.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    r5f7eadf r4e33cb2  
    13711371{
    13721372  owl_function_full_redisplay();
    1373   owl_global_set_needrefresh(&g);
    13741373}
    13751374
     
    13881387  owl_global_set_rightshift(&g, shift);
    13891388  owl_mainwin_redisplay(owl_global_get_mainwin(&g));
    1390   owl_global_set_needrefresh(&g);
    13911389}
    13921390
     
    27132711  }
    27142712
    2715   owl_global_set_needrefresh(&g);
    27162713  owl_global_pop_context(&g);
    27172714
     
    27352732    owl_editwin_insert_string(e, ptr);
    27362733    owl_editwin_redisplay(e);
    2737     owl_global_set_needrefresh(&g);
    27382734  } else {
    27392735    owl_function_beep();
     
    27522748    owl_editwin_insert_string(e, ptr);
    27532749    owl_editwin_redisplay(e);
    2754     owl_global_set_needrefresh(&g);
    27552750  } else {
    27562751    owl_function_beep();
     
    27632758  owl_editwin_insert_string(e, buff);
    27642759  owl_editwin_redisplay(e);
    2765   owl_global_set_needrefresh(&g); 
    27662760  return NULL;
    27672761}
     
    27782772  owl_global_set_typwin_inactive(&g);
    27792773  owl_global_pop_context(&g);
    2780   owl_global_set_needrefresh(&g);
    27812774
    27822775  owl_editwin_do_callback(e);
     
    28032796  owl_popwin_close(owl_global_get_popwin(&g));
    28042797  owl_global_pop_context(&g);
    2805   owl_global_set_needrefresh(&g);
    2806 }
     2798}
Note: See TracChangeset for help on using the changeset viewer.