Sync wiki -> header

This commit is contained in:
SDL Wiki Bot 2021-11-25 13:53:04 +00:00
parent 57520cbde6
commit 3c71f8939b
1 changed files with 4 additions and 3 deletions

View File

@ -1311,9 +1311,10 @@ extern DECLSPEC void SDLCALL SDL_SetWindowGrab(SDL_Window * window,
* or VM frontends. Normal games should not use keyboard grab. * or VM frontends. Normal games should not use keyboard grab.
* *
* When keyboard grab is enabled, SDL will continue to handle Alt+Tab when the * When keyboard grab is enabled, SDL will continue to handle Alt+Tab when the
* window is full-screen to ensure the user is not trapped in your application. * window is full-screen to ensure the user is not trapped in your
* If you have a custom keyboard shortcut to exit fullscreen mode, you may * application. If you have a custom keyboard shortcut to exit fullscreen
* suppress this behavior with `SDL_HINT_ALLOW_ALT_TAB_WHILE_GRABBED`. * mode, you may suppress this behavior with
* `SDL_HINT_ALLOW_ALT_TAB_WHILE_GRABBED`.
* *
* If the caller enables a grab while another window is currently grabbed, the * If the caller enables a grab while another window is currently grabbed, the
* other window loses its grab in favor of the caller's window. * other window loses its grab in favor of the caller's window.