src/video/x11/SDL_x11events.c
changeset 12 34d956b20f75
parent 8 5574376c451d
child 14 c3e9d4a623c1
     1.1 --- a/src/video/x11/SDL_x11events.c	Sat Apr 28 18:57:18 2001 +0000
     1.2 +++ b/src/video/x11/SDL_x11events.c	Sun Apr 29 22:59:47 2001 +0000
     1.3 @@ -73,7 +73,7 @@
     1.4  		XPeekEvent(display, &peekevent);
     1.5  		if ( (peekevent.type == KeyPress) &&
     1.6  		     (peekevent.xkey.keycode == event->xkey.keycode) &&
     1.7 -		     (peekevent.xkey.time == event->xkey.time) ) {
     1.8 +		     ((peekevent.xkey.time-event->xkey.time) < 2) ) {
     1.9  			repeated = 1;
    1.10  			XNextEvent(display, &peekevent);
    1.11  		}