---
name: "SDL_HINT_WINDOW_ACTIVATE_WHEN_RAISED"
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_ACTIVATE_WHEN_RAISED"
---

# SDL\_HINT\_WINDOW\_ACTIVATE\_WHEN\_RAISED(3)

A variable controlling whether the window is activated when the SDL\_RaiseWindow function is called.

## NAME

SDL\_HINT\_WINDOW\_ACTIVATE\_WHEN\_RAISED - A variable controlling whether the window is activated when the  **SDL\_RaiseWindow**\
  function is called.

## HEADER FILE

Defined in SDL3/SDL\_hints.h

## SYNOPSIS

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

**#define SDL\_HINT\_WINDOW\_ACTIVATE\_WHEN\_RAISED** *SDL\_WINDOW\_ACTIVATE\_WHEN\_RAISED"*

## DESCRIPTION

The variable can be set to the following values:

• "0": The window is not activated when the

**SDL\_RaiseWindow**\
  function is called.

• "1": The window is activated when the  **SDL\_RaiseWindow**

  function is called. (default)

This hint can be set anytime.

## AVAILABILITY

This hint is available since SDL 3.2.0.
