Просмотр исходного кода

Note that "auto" is the default for SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS

Fixes https://github.com/libsdl-org/SDL/issues/14686
Sam Lantinga 2 месяцев назад
Родитель
Сommit
59961d8343
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      include/SDL3/SDL_hints.h

+ 1 - 1
include/SDL3/SDL_hints.h

@@ -3725,8 +3725,8 @@ extern "C" {
  * The variable can be set to the following values:
  * The variable can be set to the following values:
  *
  *
  * - "0": Fullscreen windows will not be minimized when they lose focus.
  * - "0": Fullscreen windows will not be minimized when they lose focus.
- *   (default)
  * - "1": Fullscreen windows are minimized when they lose focus.
  * - "1": Fullscreen windows are minimized when they lose focus.
+ * - "auto": Fullscreen windows are minimized when they lose focus if they use exclusive fullscreen modes, so the desktop video mode is restored. (default)
  *
  *
  * This hint can be set anytime.
  * This hint can be set anytime.
  *
  *