From 9407a96264fa8a92906b79d7d5c64f5530f8321b Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 15 Jul 2013 14:38:19 -0400 Subject: [PATCH] Turn the system mouse cursor back on before VideoQuit(). This is good policy, so it doesn't have a chance to leave it hidden on targets that wouldn't necessarily reset it by default, but it also fixes a crash if you try to use a message box after SDL_Quit() is called. Fixes Bugzilla #1969. --- src/video/SDL_video.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c index 8b3c2f073..d2b94898c 100644 --- a/src/video/SDL_video.c +++ b/src/video/SDL_video.c @@ -2247,6 +2247,8 @@ SDL_VideoQuit(void) SDL_EnableScreenSaver(); + SDL_ShowCursor(1); + /* Clean up the system video */ while (_this->windows) { SDL_DestroyWindow(_this->windows);