From 43825e275acd81a9a321b55dfa577a5e0d6b9b5c Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 5 Dec 2013 09:14:56 -0800 Subject: [PATCH] Clean up the cursor clipping area when quitting SDL. This fixes the cursor being clipped after the streaming client quits when streaming Dungeons of Dredmor --- src/events/SDL_mouse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/events/SDL_mouse.c b/src/events/SDL_mouse.c index 0886f54fa082d..0bb0b184df889 100644 --- a/src/events/SDL_mouse.c +++ b/src/events/SDL_mouse.c @@ -362,6 +362,7 @@ SDL_MouseQuit(void) SDL_Cursor *cursor, *next; SDL_Mouse *mouse = SDL_GetMouse(); + SDL_SetRelativeMouseMode(SDL_FALSE); SDL_ShowCursor(1); cursor = mouse->cursors;