Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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.
  • Loading branch information
icculus committed Jul 15, 2013
1 parent 2b0b5cf commit 9407a96264fa8a92906b79d7d5c64f5530f8321b
Showing with 2 additions and 0 deletions.
  1. +2 −0 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);

0 comments on commit 9407a96

Please sign in to comment.