Fixed stuck keys when changing the video mode

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4015
This commit is contained in:
Sam Lantinga 2001-05-01 21:12:57 +00:00
parent 0329e5fda5
commit ea1961a548
4 changed files with 18 additions and 0 deletions

View file

@ -335,6 +335,7 @@ void SDL_ResetKeyboard(void)
SDL_PrivateKeyboard(SDL_RELEASED, &keysym);
}
}
SDL_KeyRepeat.timestamp = 0;
}
int SDL_EnableUNICODE(int enable)