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 3029 89f8a72e1ee9
parent 3028 1c4a059966bd
child 3030 f13ad181f5b2
Re-enable the screensaver at exit, just in case it's needed...
src/video/SDL_video.c
--- a/src/video/SDL_video.c	Mon Jan 12 08:23:12 2009 +0000
+++ b/src/video/SDL_video.c	Mon Jan 12 08:23:47 2009 +0000
@@ -2375,6 +2375,7 @@
     }
     /* Halt event processing before doing anything else */
     SDL_StopEventLoop();
+    SDL_EnableScreenSaver();
 
     /* Clean up the system video */
     for (i = _this->num_displays; i--;) {