Skip to content

Commit

Permalink
Clean up the cursor clipping area when quitting SDL.
Browse files Browse the repository at this point in the history
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 43825e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/events/SDL_mouse.c
Expand Up @@ -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;
Expand Down

0 comments on commit 43825e2

Please sign in to comment.