---
name: "SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES"
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_SPACES"
---

# SDL\_HINT\_VIDEO\_MAC\_FULLSCREEN\_SPACES(3)

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

## NAME

SDL\_HINT\_VIDEO\_MAC\_FULLSCREEN\_SPACES - A variable that specifies the policy for fullscreen Spaces on macOS.

## HEADER FILE

Defined in SDL3/SDL\_hints.h

## SYNOPSIS

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

**#define SDL\_HINT\_VIDEO\_MAC\_FULLSCREEN\_SPACES** *SDL\_VIDEO\_MAC\_FULLSCREEN\_SPACES"*

## DESCRIPTION

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.
