include/SDL_hints.h
changeset 12693 d311fcb8066a
parent 12692 69f24f4ef99e
child 12695 0c4d04572622
     1.1 --- a/include/SDL_hints.h	Fri Apr 05 08:36:31 2019 +0200
     1.2 +++ b/include/SDL_hints.h	Fri Apr 05 09:16:30 2019 +0200
     1.3 @@ -887,6 +887,17 @@
     1.4   */
     1.5  #define SDL_HINT_ANDROID_TRAP_BACK_BUTTON "SDL_ANDROID_TRAP_BACK_BUTTON"
     1.6  
     1.7 +/**
     1.8 + * \brief A variable to control whether the event loop will block itself when the app is paused.
     1.9 + *
    1.10 + * The variable can be set to the following values:
    1.11 + *   "0"       - Non blocking.
    1.12 + *   "1"       - Blocking. (default)
    1.13 + *
    1.14 + * The value should be set before SDL is initialized.
    1.15 + */
    1.16 +#define SDL_HINT_ANDROID_BLOCK_ON_PAUSE "SDL_ANDROID_BLOCK_ON_PAUSE"
    1.17 +
    1.18   /**
    1.19   * \brief A variable to control whether the return key on the soft keyboard
    1.20   *        should hide the soft keyboard on Android and iOS.