shithub: choc

Download patch

ref: b95262a16e1561e91b2e60a640c8c9f439d68eb8
parent: 27b66df2577becac7e34171c297d8fcc820101a9
author: Simon Howard <[email protected]>
date: Sun Jan 17 11:31:03 EST 2010

Restore the original cursor when shutting down video code, this should
hopefully fix the problem with the mouse cursor disappearing when
exiting on Win9x (thanks Janizdreg).

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1819

--- a/src/i_video.c
+++ b/src/i_video.c
@@ -402,6 +402,7 @@
 {
     if (initialized)
     {
+        SDL_SetCursor(cursors[1]);
         SDL_ShowCursor(1);
         SDL_WM_GrabInput(SDL_GRAB_OFF);