DOKK / manpages / debian 13 / libsdl3-doc / SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES.3.en
SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES(3) SDL3 FUNCTIONS SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES(3)

SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES - A variable that specifies the policy for fullscreen Spaces on macOS.

Defined in SDL3/SDL_hints.h

#include "SDL3/SDL.h"
#define SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES SDL_VIDEO_MAC_FULLSCREEN_SPACES"

The variable can be set to the following values:

• "0": Disable Spaces support (FULLSCREEN_DESKTOP won't use them and

SDL_WINDOW_RESIZABLE
windows won't offer the
"fullscreen" button on their titlebars).

• "1": Enable Spaces support (FULLSCREEN_DESKTOP will use them and

SDL_WINDOW_RESIZABLE
windows will offer the
"fullscreen" button on their titlebars). (default)

This hint should be set before creating a window.

This hint is available since SDL 3.2.0.

SDL 3.2.10 Simple Directmedia Layer