logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_HINT_DISPLAY_USABLE_BOUNDS - Override for SDL_GetDisplayUsableBounds().

Availability

       This hint is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                  SDL_HINT_DISPLAY_USABLE_BOUNDS(3)

Description

       If  set,  this hint will override the expected results for SDL_GetDisplayUsableBounds() for display index
       0. Generally you don't want to do this, but this allows an embedded system to request that  some  of  the
       screen be reserved for other uses when paired with a well-behaved application.

       The  contents  of  this hint must be 4 comma-separated integers, the first is the bounds x, then y, width
       and height, in that order.

       This hint can be set anytime.

Name

       SDL_HINT_DISPLAY_USABLE_BOUNDS - Override for SDL_GetDisplayUsableBounds().

Synopsis

#include<SDL3/SDL_hints.h>#defineSDL_HINT_DISPLAY_USABLE_BOUNDS"SDL_DISPLAY_USABLE_BOUNDS"

See Also