---
name: "SDL_HINT_X11_XCB_LIBRARY"
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_HINT_X11_XCB_LIBRARY"
---

# SDL\_HINT\_X11\_XCB\_LIBRARY(3)

Specify the XCB library to load for the X11 driver.

## NAME

SDL\_HINT\_X11\_XCB\_LIBRARY - Specify the XCB library to load for the X11 driver.

## HEADER FILE

Defined in SDL3/SDL\_hints.h

## SYNOPSIS

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

**#define SDL\_HINT\_X11\_XCB\_LIBRARY** *SDL\_X11\_XCB\_LIBRARY"*

## DESCRIPTION

The default is platform-specific, often "libX11-xcb.so.1".

This hint should be set before initializing the video subsystem.

## AVAILABILITY

This hint is available since SDL 3.2.0.
