diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-10-06 17:55:54 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-10-06 17:55:54 +0000 |
commit | e63f76caa1b1342422567fdcb9f8af24792c8ca1 (patch) | |
tree | 6db3085b31f4eca09f315a4fac40c13d7d92534d /Xext | |
parent | 5f30a7b10286b4f55821acd4eb5580a8f5a3c56a (diff) |
Sun bug #6326551: xkbSetDetectableAutoRepeat broken when using XEvIE
<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6326551>
(Derek Wang, Sun Microsystems)
Diffstat (limited to 'Xext')
-rw-r--r-- | Xext/xevie.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Xext/xevie.c b/Xext/xevie.c index fa9568c9e..09839a98e 100644 --- a/Xext/xevie.c +++ b/Xext/xevie.c @@ -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) { |