SDL_HINT_MOU..._CLICKTHROUGH(3)
okay so bestie, welcome to the SDL3 FUNCTIONS manual. This page is SDL_HINT_MOU..._CLICKTHROUGH(3), and it's giving click-to-focus realness β¨
π NAME π
SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH β Allow mouse click events when clicking to focus an SDL window.
π¦ SYNOPSIS π¦
#include <SDL3/SDL_hints.h>
#define SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH "SDL_MOUSE_FOCUS_CLICKTHROUGH"
β¨ DESCRIPTION β¨
okay so this variable can be set to the following values:
"0"β Ignore mouse clicks that activate a window. (default) π"1"β Generate events for mouse clicks that activate a window. π₯
This hint can be set anytime. π
π AVAILABILITY π
This hint is available since SDL 3.2.0. π
source: Simple Directmedia Layer Β· version: SDL 3.4.18 Β· manual page: SDL_HINT_MOU..._CLICKTHROUGH(3) Β· date: not listed on this footer, so we're just vibing π«Ά
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms