Reference

SDL_WINDOWPOS_UNDEFINED(3)

Used to indicate that you don't care what the window position/display is.

NAME

SDL_WINDOWPOS_UNDEFINED - Used to indicate that you don't care what the window position/display is.

HEADER FILE

Defined in SDL3/SDL_video.h

SYNOPSIS

#include "SDL3/SDL.h"

#define SDL_WINDOWPOS_UNDEFINED SDL_WINDOWPOS_UNDEFINED_DISPLAY(0)

DESCRIPTION

This always uses the primary display.

AVAILABILITY

This macro is available since SDL 3.2.0.