Skip to content

Files

Latest commit

d742e11 · Feb 8, 2025

History

History
28 lines (17 loc) · 804 Bytes

SDL_HINT_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN.md

File metadata and controls

28 lines (17 loc) · 804 Bytes

SDL_HINT_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN

A variable controlling whether the window frame and title bar are interactive when the cursor is hidden

Header File

Defined in SDL_hints.h

Syntax

#define SDL_HINT_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN    "SDL_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN"

Remarks

This variable can be set to the following values:

  • "0": The window frame is not interactive when the cursor is hidden (no move, resize, etc)
  • "1": The window frame is interactive when the cursor is hidden

By default SDL will allow interaction with the window frame when the cursor is hidden


CategoryAPI, CategoryAPIMacro, CategoryHints