Mercurial > sdl-ios-xcode
comparison src/events/SDL_events.c @ 1666:6e7ec5cb83c3 SDL-1.3
The dummy video driver compiles. :)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 28 May 2006 21:56:07 +0000 |
parents | 782fd950bd46 |
children | 4da1ee79c9af |
comparison
equal
deleted
inserted
replaced
1665:28193f833b2b | 1666:6e7ec5cb83c3 |
---|---|
217 { | 217 { |
218 /* Halt the event thread, if running */ | 218 /* Halt the event thread, if running */ |
219 SDL_StopEventThread (); | 219 SDL_StopEventThread (); |
220 | 220 |
221 /* Shutdown event handlers */ | 221 /* Shutdown event handlers */ |
222 SDL_AppActiveQuit (); | |
223 SDL_KeyboardQuit (); | 222 SDL_KeyboardQuit (); |
224 SDL_MouseQuit (); | 223 SDL_MouseQuit (); |
225 SDL_QuitQuit (); | 224 SDL_QuitQuit (); |
226 | 225 |
227 /* Clean out EventQ */ | 226 /* Clean out EventQ */ |
249 SDL_eventstate &= ~(0x00000001 << SDL_SYSWMEVENT); | 248 SDL_eventstate &= ~(0x00000001 << SDL_SYSWMEVENT); |
250 SDL_ProcessEvents[SDL_SYSWMEVENT] = SDL_IGNORE; | 249 SDL_ProcessEvents[SDL_SYSWMEVENT] = SDL_IGNORE; |
251 | 250 |
252 /* Initialize event handlers */ | 251 /* Initialize event handlers */ |
253 retcode = 0; | 252 retcode = 0; |
254 retcode += SDL_AppActiveInit (); | |
255 retcode += SDL_KeyboardInit (); | 253 retcode += SDL_KeyboardInit (); |
256 retcode += SDL_MouseInit (); | 254 retcode += SDL_MouseInit (); |
257 retcode += SDL_QuitInit (); | 255 retcode += SDL_QuitInit (); |
258 if (retcode < 0) { | 256 if (retcode < 0) { |
259 /* We don't expect them to fail, but... */ | 257 /* We don't expect them to fail, but... */ |