SDL_HINT_VIDEO_X11_VISUALID

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

Header File

Defined in <SDL3/SDL_hints.h>

Syntax

#define SDL_HINT_VIDEO_X11_VISUALID "SDL_VIDEO_X11_VISUALID"

Remarks

This hint should be set before initializing the video subsystem.

Version

This hint is available since SDL 3.2.0.


CategoryAPI, CategoryAPIMacro, CategoryHints