瀏覽代碼

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 月之前
父節點
當前提交
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:
  *
  * - "0": Fullscreen windows will not be minimized when they lose focus.
- *   (default)
  * - "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.
  *