Mercurial > sdl-ios-xcode
diff src/video/SDL_video.c @ 460:a888b3ae31ff
Reset mouse state when changing video modes
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 20 Aug 2002 06:01:20 +0000 |
parents | b4e14b15af3c |
children | 0a111805b53a |
line wrap: on
line diff
--- a/src/video/SDL_video.c Tue Aug 20 05:59:31 2002 +0000 +++ b/src/video/SDL_video.c Tue Aug 20 06:01:20 2002 +0000 @@ -607,6 +607,7 @@ /* Reset the keyboard here so event callbacks can run */ SDL_ResetKeyboard(); + SDL_ResetMouse(); /* Clean up any previous video mode */ if ( SDL_PublicSurface != NULL ) {