---
name: "SDL_PROP_GLOBAL_VIDEO_WAYLAND_WL_DISPLAY_POINTER"
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_PROP_GLOBAL_VIDEO_WAYLAND_WL_DISPLAY_POINTER"
---

# SDL\_PROP\_GLOBAL\_VIDEO\_WAYLAND\_WL\_DISPLAY\_POINTER(3)

The pointer to the global wl\_display object used by the Wayland video backend.

## NAME

SDL\_PROP\_GLOBAL\_VIDEO\_WAYLAND\_WL\_DISPLAY\_POINTER - The pointer to the global **wl\_display** object used by the Wayland video backend.

## HEADER FILE

Defined in SDL3/SDL\_video.h

## SYNOPSIS

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

**#define SDL\_PROP\_GLOBAL\_VIDEO\_WAYLAND\_WL\_DISPLAY\_POINTER** *SDL.video.wayland.wl\_display"*

## DESCRIPTION

Can be set before the video subsystem is initialized to import an external **wl\_display** object from an application or toolkit for use in SDL, or read after initialization to export the **wl\_display** used by the Wayland video backend. Setting this property after the video subsystem has been initialized has no effect, and reading it when the video subsystem is uninitialized will either return the user provided value, if one was set prior to initialization, or NULL. See docs/README-wayland.md for more information.
