diff src/events/SDL_keyboard.c @ 14:c3e9d4a623c1

Fixed stuck keys when changing the video mode
author Sam Lantinga <slouken@lokigames.com>
date Tue, 01 May 2001 21:12:57 +0000
parents 74212992fb08
children 8f33e95b43b6
line wrap: on
line diff
--- a/src/events/SDL_keyboard.c	Sun Apr 29 23:00:03 2001 +0000
+++ b/src/events/SDL_keyboard.c	Tue May 01 21:12:57 2001 +0000
@@ -335,6 +335,7 @@
 			SDL_PrivateKeyboard(SDL_RELEASED, &keysym);
 		}
 	}
+	SDL_KeyRepeat.timestamp = 0;
 }
 
 int SDL_EnableUNICODE(int enable)