Constant SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES
pub const SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES: *const i8 = _; // {alloc39987<imm>: *const i8}
Available on crate feature
dep_sdl3
only.Expand description
A variable that specifies the policy for fullscreen Spaces on macOS.
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.
§Availability
This hint is available since SDL 3.2.0.