Sync SDL2 wiki -> header

This commit is contained in:
SDL Wiki Bot
2024-05-16 15:51:44 +00:00
parent 1c3a1e1139
commit 67bea86b10

View File

@@ -22,18 +22,18 @@
/** /**
* # CategoryQuit * # CategoryQuit
* *
* An SDL_QUIT event is generated when the user tries to close the application * An SDL_QUIT event is generated when the user tries to close the application
* window. If it is ignored or filtered out, the window will remain open. * window. If it is ignored or filtered out, the window will remain open. If
* If it is not ignored or filtered, it is queued normally and the window * it is not ignored or filtered, it is queued normally and the window is
* is allowed to close. When the window is closed, screen updates will * allowed to close. When the window is closed, screen updates will complete,
* complete, but have no effect. * but have no effect.
* *
* SDL_Init() installs signal handlers for SIGINT (keyboard interrupt) * SDL_Init() installs signal handlers for SIGINT (keyboard interrupt) and
* and SIGTERM (system termination request), if handlers do not already * SIGTERM (system termination request), if handlers do not already exist,
* exist, that generate SDL_QUIT events as well. There is no way * that generate SDL_QUIT events as well. There is no way to determine the
* to determine the cause of an SDL_QUIT event, but setting a signal * cause of an SDL_QUIT event, but setting a signal handler in your
* handler in your application will override the default generation of * application will override the default generation of quit events for that
* quit events for that signal. * signal.
*/ */
#ifndef SDL_quit_h_ #ifndef SDL_quit_h_