Sun bug #6326551: xkbSetDetectableAutoRepeat broken when using XEvIE

<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6326551>
    (Derek Wang, Sun Microsystems)
This commit is contained in:
Alan Coopersmith 2005-10-06 17:55:54 +00:00
parent 5f30a7b102
commit e63f76caa1

View File

@ -696,9 +696,13 @@ doSendEvent(xEvent *xE, DeviceIntPtr dev)
}
dev->key->modifierMap[xE->u.u.detail] = 0;
if(dev->key->xkbInfo->repeatKey != 0 && xE->u.u.type != KeyPress)
XkbLastRepeatEvent= (pointer)xE;
UNWRAP_INPUTPROC(dev,xeviep);
dev->public.processInputProc(xE,dev,1);
COND_WRAP_INPUTPROC(dev,xeviep,tmp);
XkbLastRepeatEvent= NULL;
dev->key->modifierMap[xE->u.u.detail] = realModes;
dev->key = keyc;
if(notFound) {