---
name: "SDL_HINT_VIDEO_X11_SCALING_FACTOR"
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_VIDEO_X11_SCALING_FACTOR"
---

# SDL\_HINT\_VIDEO\_X11\_SCALING\_FACTOR(3)

A variable forcing the content scaling factor for X11 displays.

## NAME

SDL\_HINT\_VIDEO\_X11\_SCALING\_FACTOR - A variable forcing the content scaling factor for X11 displays.

## HEADER FILE

Defined in SDL3/SDL\_hints.h

## SYNOPSIS

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

**#define SDL\_HINT\_VIDEO\_X11\_SCALING\_FACTOR** *SDL\_VIDEO\_X11\_SCALING\_FACTOR"*

## DESCRIPTION

The variable can be set to a floating point value in the range 1.0-10.0f

This hint should be set before SDL is initialized.

## AVAILABILITY

This hint is available since SDL 3.2.0.
