SDL_SetWindowFocusable

Set whether the window may have input focus.

extern (C) nothrow @nogc extern
bool
SDL_SetWindowFocusable

Parameters

window SDL_Window*

the window to set focusable state.

focusable bool

true to allow input focus, false to not allow input focus.

Return Value

Type: bool

true on success or false on failure; call SDL_GetError() for more information.

Threadsafety: This function should only be called on the main thread.

Meta