SDL_HINT_X11_WINDOW_TYPE(3)

SDL_HINT_X11_WINDOW_TYPE3

A variable specifying the type of an x11 window.

Usage

#include "SDL3/SDL.h"

#define SDL_HINT_X11_WINDOW_TYPE SDL_X11_WINDOW_TYPE"

Header file

Defined in SDL3/SDL_hints.h

Overview

During SDL_CreateWindow , SDL uses the _NET_WM_WINDOW_TYPE X11 property to report to the window manager the type of window it wants to create. This might be set to various things if

SDL_WINDOW_TOOLTIP
or

SDL_WINDOW_POPUP_MENU , etc, were specified. For "normal" windows that haven't set a specific type, this hint can be used to specify a custom type. For example, a dock window might set this to "_NET_WM_WINDOW_TYPE_DOCK".

This hint should be set before creating a window.

Availability

This hint is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.