---
name: "SDL_HINT_VIDEO_MAC_FULLSCREEN_MENU_VISIBILITY"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_HINT_VIDEO_MAC_FULLSCREEN_MENU_VISIBILITY"
---

# SDL\_HINT\_VIDEO\_MAC\_FULLSCREEN\_MENU\_VISIBILITY(3)

A variable that specifies the menu visibility when a window is fullscreen in Spaces on macOS.

## NAME

SDL\_HINT\_VIDEO\_MAC\_FULLSCREEN\_MENU\_VISIBILITY - A variable that specifies the menu visibility when a window is fullscreen in Spaces on macOS.

## HEADER FILE

Defined in SDL3/SDL\_hints.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**#define SDL\_HINT\_VIDEO\_MAC\_FULLSCREEN\_MENU\_VISIBILITY** *SDL\_VIDEO\_MAC\_FULLSCREEN\_MENU\_VISIBILITY"*

## DESCRIPTION

The variable can be set to the following values:

• "0": The menu will be hidden when the window is in a fullscreen space,\
   and not accessible by moving the mouse to the top of the screen.

• "1": The menu will be accessible when the window is in a fullscreen\
   space.

• "auto": The menu will be hidden if fullscreen mode was toggled on\
   programmatically via **SDL\_SetWindowFullscreen()** , and accessible if\
   fullscreen was entered via the "fullscreen" button on the window title\
   bar. (default)

This hint can be set anytime.

## AVAILABILITY

This hint is available since SDL 3.2.0.
