Lines Matching refs:curEvent
83 int curEvent; /* Index in eventRing of most recent
732 bindPtr->curEvent = 0;
1221 && (bindPtr->eventRing[bindPtr->curEvent].type == MotionNotify)) {
1235 ringPtr = &bindPtr->eventRing[bindPtr->curEvent];
1240 if (bindPtr->curEvent <= 0) {
1243 i = bindPtr->curEvent - 1;
1250 bindPtr->eventRing[bindPtr->curEvent].type = -1;
1251 bindPtr->curEvent = i;
1254 bindPtr->curEvent++;
1255 if (bindPtr->curEvent >= EVENT_BUFFER_SIZE) {
1256 bindPtr->curEvent = 0;
1259 ringPtr = &bindPtr->eventRing[bindPtr->curEvent];
1273 bindPtr->detailRing[bindPtr->curEvent] = detail;
1551 eventPtr = &bindPtr->eventRing[bindPtr->curEvent];
1552 detailPtr = &bindPtr->detailRing[bindPtr->curEvent];
1665 firstPtr = &bindPtr->eventRing[bindPtr->curEvent];