Searched refs:peekevent (Results 1 – 1 of 1) sorted by relevance
304 XEvent peekevent; in X11_KeyRepeat() local309 XPeekEvent(display, &peekevent); in X11_KeyRepeat()310 if ( (peekevent.type == KeyPress) && in X11_KeyRepeat()311 (peekevent.xkey.keycode == event->xkey.keycode) && in X11_KeyRepeat()312 ((peekevent.xkey.time-event->xkey.time) < 2) ) { in X11_KeyRepeat()314 XNextEvent(display, &peekevent); in X11_KeyRepeat()