Ignore:
Timestamp:
Aug 1, 2008, 3:55:37 PM (13 years ago)
Author:
Pascal Terjan
Message:
  • Filter out events that we don't use
  • Reduce caca_get_event timeout
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/main.c

    r2624 r2625  
    377377            break;
    378378
    379         ret = caca_get_event(screen_list->dp, CACA_EVENT_ANY, &ev, 100000);
     379        ret = caca_get_event(screen_list->dp,
     380                             CACA_EVENT_KEY_PRESS
     381                             |CACA_EVENT_RESIZE
     382                             |CACA_EVENT_QUIT,
     383                             &ev, 10000);
    380384        if(ret)
    381385            ret = send_event(ev, screen_list);
Note: See TracChangeset for help on using the changeset viewer.