SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES(3)

πŸ’– SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES πŸ’–

okay bestie, welcome to the manual page for SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES β€” it lives in the SDL3 function pages and it's literally the vibe check for how fullscreen Spaces behave on macOS. ✨


🌸 NAME 🌸

SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES β€” a variable that specifies the policy for fullscreen Spaces on macOS.


πŸŽ€ SYNOPSIS πŸŽ€

#include <SDL3/SDL_hints.h>

#define SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES "SDL_VIDEO_MAC_FULLSCREEN_SPACES"

πŸ¦‹ DESCRIPTION πŸ¦‹

so this variable can be set to the following values, and each one is a whole different era, no cap:

  • "0" β€” Disable Spaces support. that means FULLSCREEN_DESKTOP won't use them, and SDL_WINDOW_RESIZABLE windows won't offer the "fullscreen" button on their titlebars. lowkey minimalist of them tbh.
  • "1" β€” Enable Spaces support. that means FULLSCREEN_DESKTOP will use them, and SDL_WINDOW_RESIZABLE windows will offer the "fullscreen" button on their titlebars. this one is the default πŸ’…
✨ important, bestie: this hint should be set before creating a window. setting it after is giving "too late, girl" energy. 😭

πŸ‘‘ AVAILABILITY πŸ‘‘

this hint is available since SDL 3.2.0. so if you're on anything older, it's not ghosting you β€” it just doesn't exist yet. 🫢


and that's the whole page, periodt. go forth and fullscreen responsibly. 🌈

with love from Simple Directmedia Layer, sitting pretty at SDL 3.4.18 β€” mwah, catch you in the next manpage. πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from