Ignore:
Timestamp:
Mar 23, 2006, 7:36:59 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Massive rework of the event handling code, as per the TODO list.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/caca.c

    r672 r681  
    7575    kk->events.last_key_ticks = 0;
    7676    kk->events.autorepeat_ticks = 0;
    77     kk->events.last_key = 0;
    78 #endif
    79 #if defined(USE_SLANG) || defined(USE_NCURSES) || defined(USE_CONIO)
     77    kk->events.last_key_event.type = CACA_EVENT_NONE;
     78#endif
     79#if defined(USE_SLANG) || defined(USE_NCURSES) || defined(USE_CONIO) || defined(USE_GL)
    8080    kk->events.queue = 0;
    8181#endif
Note: See TracChangeset for help on using the changeset viewer.