Skip to content
Permalink
Browse files

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
  • Loading branch information
slouken committed Dec 5, 2013
1 parent 77d2d55 commit 43825e275acd81a9a321b55dfa577a5e0d6b9b5c
Showing with 1 addition and 0 deletions.
  1. +1 −0 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;

0 comments on commit 43825e2

Please sign in to comment.