---
name: "SDL_WINDOWPOS_UNDEFINED_DISPLAY"
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_WINDOWPOS_UNDEFINED_DISPLAY"
---

# SDL\_WINDOWPOS\_UNDEFINED\_DISPLAY(3)

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

## NAME

SDL\_WINDOWPOS\_UNDEFINED\_DISPLAY - Used to indicate that you don't care what the window position is.

## HEADER FILE

Defined in SDL3/SDL\_video.h

## SYNOPSIS

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

**#define SDL\_WINDOWPOS\_UNDEFINED\_DISPLAY(X)  (SDL\_WINDOWPOS\_UNDEFINED\_MASK\|(X))**

## DESCRIPTION

If you \_really\_ don't care,

**SDL\_WINDOWPOS\_UNDEFINED**\
  is the same, but always uses the primary display instead of specifying one.

## AVAILABILITY

This macro is available since SDL 3.2.0.
