include/SDL_hints.h
changeset 9435 0979c3e31211
parent 9434 0a695c9c3c71
child 9438 fff5af5de6dd
     1.1 --- a/include/SDL_hints.h	Tue Mar 24 14:29:25 2015 -0400
     1.2 +++ b/include/SDL_hints.h	Tue Mar 24 14:36:36 2015 -0400
     1.3 @@ -547,16 +547,16 @@
     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 + *  \brief Tell SDL not to catch the SIGINT or SIGTERM signals.
     1.9   *
    1.10   * This hint only applies to Unix-like platforms.
    1.11   *
    1.12   * The variable can be set to the following values:
    1.13 - *   "0"       - SDL will install a SIGINT handler, and when it catches the
    1.14 - *               signal, conver it into an SDL_QUIT event.
    1.15 - *   "1"       - SDL will not install a SIGINT handler.
    1.16 + *   "0"       - SDL will install a SIGINT and SIGTERM handler, and when it
    1.17 + *               catches a signal, convert it into an SDL_QUIT event.
    1.18 + *   "1"       - SDL will not install a signal handler at all.
    1.19   */
    1.20 -#define SDL_HINT_DISABLE_SIGINT_HANDLER   "SDL_DISABLE_SIGINT_HANDLER"
    1.21 +#define SDL_HINT_NO_SIGNAL_HANDLERS   "SDL_NO_SIGNAL_HANDLERS"
    1.22  
    1.23  /**
    1.24   *  \brief  An enumeration of hint priorities