Add SDL_WINDOW_NOT_FOCUSABLE flag to set that the window should not be able to gain key focus

- Also adds SDL_SetWindowFocusable() to set/clear flag on existing windows
This commit is contained in:
Sam Lantinga 2023-08-30 20:29:51 -07:00
parent b385dc3b68
commit a5e7214795
15 changed files with 101 additions and 8 deletions

View file

@ -972,3 +972,4 @@ SDL_DYNAPI_PROC(SDL_bool,SDL_WriteS64BE,(SDL_RWops *a, Sint64 b),(a,b),return)
#ifdef __GDK__
SDL_DYNAPI_PROC(int,SDL_GDKGetDefaultUser,(XUserHandle *a),(a),return)
#endif
SDL_DYNAPI_PROC(int,SDL_SetWindowFocusable,(SDL_Window *a, SDL_bool b),(a,b),return)