Updated documentation so people know to set the SDL_HINT_NO_SIGNAL_HANDLERS hint before SDL_Init()
authorSam Lantinga <slouken@libsdl.org>
Fri, 20 Mar 2020 15:55:02 -0700
changeset 1365082e1e144c03b
parent 13649 00ee90243d11
child 13651 ca9c225103c4
Updated documentation so people know to set the SDL_HINT_NO_SIGNAL_HANDLERS hint before SDL_Init()
include/SDL_hints.h
     1.1 --- a/include/SDL_hints.h	Fri Mar 20 15:13:09 2020 -0400
     1.2 +++ b/include/SDL_hints.h	Fri Mar 20 15:55:02 2020 -0700
     1.3 @@ -1019,7 +1019,8 @@
     1.4  /**
     1.5   *  \brief Tell SDL not to catch the SIGINT or SIGTERM signals.
     1.6   *
     1.7 - * This hint only applies to Unix-like platforms.
     1.8 + * This hint only applies to Unix-like platforms, and should set before
     1.9 + * any calls to SDL_Init()
    1.10   *
    1.11   * The variable can be set to the following values:
    1.12   *   "0"       - SDL will install a SIGINT and SIGTERM handler, and when it