include/SDL_hints.h
changeset 9434 0a695c9c3c71
parent 9292 e0868ad5810c
child 9435 0979c3e31211
     1.1 --- a/include/SDL_hints.h	Tue Mar 24 13:52:01 2015 -0400
     1.2 +++ b/include/SDL_hints.h	Tue Mar 24 14:29:25 2015 -0400
     1.3 @@ -547,6 +547,18 @@
     1.4  #define SDL_HINT_EMSCRIPTEN_KEYBOARD_ELEMENT   "SDL_EMSCRIPTEN_KEYBOARD_ELEMENT"
     1.5  
     1.6  /**
     1.7 + *  \brief Tell SDL not to handle SIGINT.
     1.8 + *
     1.9 + * This hint only applies to Unix-like platforms.
    1.10 + *
    1.11 + * The variable can be set to the following values:
    1.12 + *   "0"       - SDL will install a SIGINT handler, and when it catches the
    1.13 + *               signal, conver it into an SDL_QUIT event.
    1.14 + *   "1"       - SDL will not install a SIGINT handler.
    1.15 + */
    1.16 +#define SDL_HINT_DISABLE_SIGINT_HANDLER   "SDL_DISABLE_SIGINT_HANDLER"
    1.17 +
    1.18 +/**
    1.19   *  \brief  An enumeration of hint priorities
    1.20   */
    1.21  typedef enum