Changeset 117b2ba


Ignore:
Timestamp:
May 23, 2011, 8:57:46 PM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
ba12b44
Parents:
dc1edbd
git-author:
David Benjamin <davidben@mit.edu> (02/28/11 10:15:58)
git-committer:
David Benjamin <davidben@mit.edu> (05/23/11 20:57:46)
Message:
Move owl_process_input_char to owl.c

It would be nice to move some functions out of there too, but it really
makes no sense in select.c.
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    r08e9842 r117b2ba  
    296296  NULL
    297297};
     298
     299void owl_process_input_char(owl_input j)
     300{
     301  int ret;
     302
     303  owl_global_set_lastinputtime(&g, time(NULL));
     304  ret = owl_keyhandler_process(owl_global_get_keyhandler(&g), j);
     305  if (ret!=0 && ret!=1) {
     306    owl_function_makemsg("Unable to handle keypress");
     307  }
     308}
    298309
    299310void owl_process_input(const owl_io_dispatch *d, void *data)
  • select.c

    rdc1edbd r117b2ba  
    296296}
    297297
    298 void owl_process_input_char(owl_input j)
    299 {
    300   int ret;
    301 
    302   owl_global_set_lastinputtime(&g, time(NULL));
    303   ret = owl_keyhandler_process(owl_global_get_keyhandler(&g), j);
    304   if (ret!=0 && ret!=1) {
    305     owl_function_makemsg("Unable to handle keypress");
    306   }
    307 }
    308 
    309298void owl_select_init(void)
    310299{
Note: See TracChangeset for help on using the changeset viewer.