Explorar el Código

* Allow exiting cacafire using the window manager

tags/v0.99.beta14
Pascal Terjan pterjan hace 17 años
padre
commit
226717b7f8
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. +3
    -1
      src/aafire.c

+ 3
- 1
src/aafire.c Ver fichero

@@ -270,8 +270,10 @@ game (void)
{
#ifdef LIBCACA
caca_event_t ev;
if(caca_get_event(dp, CACA_EVENT_KEY_PRESS, &ev, 0))
if(caca_get_event(dp, CACA_EVENT_KEY_PRESS|CACA_EVENT_QUIT, &ev, 0))
{
if (caca_get_event_type(&ev) & CACA_EVENT_QUIT)
return;
switch(caca_get_event_key_ch(&ev))
{
case CACA_KEY_CTRL_C:


Cargando…
Cancelar
Guardar