Re-enable the screensaver at exit, just in case it's needed...
authorSam Lantinga <slouken@libsdl.org>
Mon, 12 Jan 2009 08:23:47 +0000
changeset 302989f8a72e1ee9
parent 3028 1c4a059966bd
child 3030 f13ad181f5b2
Re-enable the screensaver at exit, just in case it's needed...
src/video/SDL_video.c
     1.1 --- a/src/video/SDL_video.c	Mon Jan 12 08:23:12 2009 +0000
     1.2 +++ b/src/video/SDL_video.c	Mon Jan 12 08:23:47 2009 +0000
     1.3 @@ -2375,6 +2375,7 @@
     1.4      }
     1.5      /* Halt event processing before doing anything else */
     1.6      SDL_StopEventLoop();
     1.7 +    SDL_EnableScreenSaver();
     1.8  
     1.9      /* Clean up the system video */
    1.10      for (i = _this->num_displays; i--;) {