SDL_HINT_VID...NU_VISIBILITY(3)
π SDL_HINT_VIDEO_MAC_FULLSCREEN_MENU_VISIBILITY(3) π
okay bestie, pull up a chair, we're reading a page from the SDL3 FUNCTIONS manual and honestly? it's a little niche but it's giving very specific macOS energy and i'm obsessed π
β¨ NAME β¨
SDL_HINT_VIDEO_MAC_FULLSCREEN_MENU_VISIBILITY β a variable that says how visible the menu is when a window is fullscreen in Spaces on macOS. that's it, that's the whole job π
β¨ SYNOPSIS β¨
#include <SDL3/SDL_hints.h>
#define SDL_HINT_VIDEO_MAC_FULLSCREEN_MENU_VISIBILITY "SDL_VIDEO_MAC_FULLSCREEN_MENU_VISIBILITY"
no cap, that's the whole incantation πͺ
β¨ DESCRIPTION β¨
so the variable can be set to these values, and each one is a whole different vibe:
"0"β the menu is hidden when the window is in a fullscreen space, and you cannot get to it by moving the mouse to the top of the screen. gone. inaccessible. poof π"1"β the menu is accessible when the window is in a fullscreen space. it's right there, reachable, thriving π"auto"β the menu is hidden if fullscreen mode was toggled on programmatically viaSDL_SetWindowFullscreen(), and accessible if fullscreen was entered via the"fullscreen"button on the window title bar. this is the default π
this hint can be set anytime. yes, ANYTIME. no timing stress, no "wait until init", you're free π
β¨ AVAILABILITY β¨
this hint has been around since SDL 3.2.0 β so if you're on anything older, bestie, it's simply not happening π
and that's the whole page!! every flag, every value, every default, all accounted for, nothing skipped, periodt π
this lil love letter to you came from the Simple Directmedia Layer crew, sitting at version SDL 3.4.18 β go be the main character of your own fullscreen setup, mwah π«Άβ¨
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms