---
name: "SDL_HINT_WINDOW_ALLOW_TOPMOST"
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_WINDOW_ALLOW_TOPMOST"
---

# SDL\_HINT\_WINDOW\_ALLOW\_TOPMOST(3)

If set to "0" then never set the top-most flag on an SDL Window even if the application requests it.

## NAME

SDL\_HINT\_WINDOW\_ALLOW\_TOPMOST - If set to "0" then never set the top-most flag on an SDL Window even if the application requests it.

## HEADER FILE

Defined in SDL3/SDL\_hints.h

## SYNOPSIS

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

**#define SDL\_HINT\_WINDOW\_ALLOW\_TOPMOST** *SDL\_WINDOW\_ALLOW\_TOPMOST"*

## DESCRIPTION

This is a debugging aid for developers and not expected to be used by end users.

The variable can be set to the following values:

• "0": don't allow topmost

• "1": allow topmost (default)

This hint can be set anytime.

## AVAILABILITY

This hint is available since SDL 3.2.0.
