---
name: "SDL_HINT_VIDEO_X11_VISUALID"
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_X11_VISUALID"
---

# SDL\_HINT\_VIDEO\_X11\_VISUALID(3)

A variable forcing the visual ID used for X11 display modes.

## NAME

SDL\_HINT\_VIDEO\_X11\_VISUALID - A variable forcing the visual ID used for X11 display modes.

## HEADER FILE

Defined in SDL3/SDL\_hints.h

## SYNOPSIS

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

**#define SDL\_HINT\_VIDEO\_X11\_VISUALID** *SDL\_VIDEO\_X11\_VISUALID"*

## DESCRIPTION

This hint should be set before initializing the video subsystem.

## AVAILABILITY

This hint is available since SDL 3.2.0.
