Function getKeyboardFocusedWindow

Wraps SDL_GetKeyboardFocus which gets the keyboard-focused window

Window getKeyboardFocusedWindow();

This function is marked as @system due to the potential of referencing invalid memory.

Returns

dsdl2.Window proxy of the window with the keyboard focus; null if no window is focused