Ignore:
Timestamp:
Dec 1, 2007, 4:51:20 PM (12 years ago)
Author:
Pascal Terjan
Message:
  • Allow exiting cacafire using the window manager
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/aafire.c

    r2049 r2105  
    271271#ifdef LIBCACA
    272272      caca_event_t ev;
    273       if(caca_get_event(dp, CACA_EVENT_KEY_PRESS, &ev, 0))
     273      if(caca_get_event(dp, CACA_EVENT_KEY_PRESS|CACA_EVENT_QUIT, &ev, 0))
    274274        {
     275          if (caca_get_event_type(&ev) & CACA_EVENT_QUIT)
     276            return;
    275277          switch(caca_get_event_key_ch(&ev))
    276278            {
Note: See TracChangeset for help on using the changeset viewer.