Date: Fri, 08 Jul 2005 22:43:48 +0200 (CEST)
From: Jiri Svoboda Subject: [SDL] signal handling bug I encountered the following bug: SDL doesn't reset signal handlers for SIGTERM and SIGINT, after calling SDL_Quit these remain hooked to the handler in SDL_quit.c, being translated into SDL_QUIT events. Consequently an application that issues a SDL_Quit and remains running will ignore any SIGTERM or SIGINT., and specifically CTRL-C presses. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401124
This commit is contained in:
parent
3eacd1d2c1
commit
9608780d27
6 changed files with 35 additions and 1 deletions
|
@ -58,6 +58,9 @@ int SDL_MouseInit(void)
|
|||
/* That's it! */
|
||||
return(0);
|
||||
}
|
||||
void SDL_MouseQuit(void)
|
||||
{
|
||||
}
|
||||
|
||||
/* We lost the mouse, so post button up messages for all pressed buttons */
|
||||
void SDL_ResetMouse(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue