---
name: "al_get_x_window_id"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_get_x_window_id"
---

# al\_get\_x\_window\_id(3)

Allegro 5 API

## NAME

al\_get\_x\_window\_id - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_x.h>
  XID al_get_x_window_id(ALLEGRO_DISPLAY *display)
  ```

## DESCRIPTION

Retrieves the XID associated with the Allegro display.

## SINCE

5\.1.12
